Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ from diffusers import StableDiffusionXLImg2ImgPipeline
|
|
79 |
from diffusers.utils import load_image
|
80 |
|
81 |
pipe = StableDiffusionXLImg2ImgPipeline.from_pretrained(
|
82 |
-
"stabilityai/stable-diffusion-xl-refiner-1.0", torch_dtype=torch.float32,
|
83 |
)
|
84 |
pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
85 |
|
|
|
79 |
from diffusers.utils import load_image
|
80 |
|
81 |
pipe = StableDiffusionXLImg2ImgPipeline.from_pretrained(
|
82 |
+
"stabilityai/stable-diffusion-xl-refiner-1.0", torch_dtype=torch.float32, use_safetensors=True
|
83 |
)
|
84 |
pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
85 |
|