Spaces:
Paused
Paused
Update app.py
Browse files
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 |
-
"
|
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 |
-
"
|
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,
|