fyp1 commited on
Commit
bca5f5e
1 Parent(s): bb70c02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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}",,subfolder="scheduler", torch_dtype=torch.float16)
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",