Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ app = FastAPI()
|
|
13 |
model_id = "fyp1/sketchToImage"
|
14 |
controlnet = ControlNetModel.from_pretrained(f"{model_id}",subfolder="controlnet", torch_dtype=torch.float16)
|
15 |
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
16 |
-
scheduler = EulerAncestralDiscreteScheduler.from_pretrained(f"{model_id}"
|
17 |
|
18 |
pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
|
19 |
"stabilityai/stable-diffusion-xl-base-1.0",
|
|
|
13 |
model_id = "fyp1/sketchToImage"
|
14 |
controlnet = ControlNetModel.from_pretrained(f"{model_id}",subfolder="controlnet", torch_dtype=torch.float16)
|
15 |
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
16 |
+
scheduler = EulerAncestralDiscreteScheduler.from_pretrained(f"{model_id}",subfolder="scheduler", torch_dtype=torch.float16)
|
17 |
|
18 |
pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
|
19 |
"stabilityai/stable-diffusion-xl-base-1.0",
|