Deadmon commited on
Commit
ba17ba6
1 Parent(s): 6d91a84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -147,7 +147,7 @@ controlnet_canny = ControlNetModel.from_pretrained(
147
  vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
148
 
149
  pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
150
- "stabilityai/stable-diffusion-xl-base-1.0",
151
  controlnet=controlnet,
152
  vae=vae,
153
  torch_dtype=torch.float16,
@@ -156,7 +156,7 @@ pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
156
  pipe.to(device)
157
  # Load model.
158
  pipe_canny = StableDiffusionXLControlNetPipeline.from_pretrained(
159
- "stabilityai/stable-diffusion-xl-base-1.0",
160
  controlnet=controlnet_canny,
161
  vae=vae,
162
  safety_checker=None,
 
147
  vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
148
 
149
  pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
150
+ "black-forest-labs/FLUX.1-schnell",
151
  controlnet=controlnet,
152
  vae=vae,
153
  torch_dtype=torch.float16,
 
156
  pipe.to(device)
157
  # Load model.
158
  pipe_canny = StableDiffusionXLControlNetPipeline.from_pretrained(
159
+ "black-forest-labs/FLUX.1-schnell",
160
  controlnet=controlnet_canny,
161
  vae=vae,
162
  safety_checker=None,