Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,9 @@ pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
|
|
22 |
"stabilityai/stable-diffusion-xl-base-1.0",
|
23 |
controlnet=controlnet,
|
24 |
vae=vae,
|
25 |
-
torch_dtype=torch.float16,
|
|
|
|
|
26 |
)
|
27 |
|
28 |
custom_model = "fffiloni/eugene_jour_general"
|
|
|
22 |
"stabilityai/stable-diffusion-xl-base-1.0",
|
23 |
controlnet=controlnet,
|
24 |
vae=vae,
|
25 |
+
torch_dtype=torch.float16,
|
26 |
+
variant="fp16",
|
27 |
+
use_safetensors=True
|
28 |
)
|
29 |
|
30 |
custom_model = "fffiloni/eugene_jour_general"
|