Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ controlnet = ControlNetModel.from_pretrained(
|
|
| 12 |
|
| 13 |
# Load Stable Diffusion pipeline with ControlNet
|
| 14 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
| 15 |
-
"runwayml/stable-diffusion-v1-5",
|
| 16 |
)
|
| 17 |
|
| 18 |
# Set the scheduler
|
|
|
|
| 12 |
|
| 13 |
# Load Stable Diffusion pipeline with ControlNet
|
| 14 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
| 15 |
+
"runwayml/stable-diffusion-v1-5", torch_dtype=torch.float32
|
| 16 |
)
|
| 17 |
|
| 18 |
# Set the scheduler
|