Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,8 @@ vae = AutoencoderKL.from_pretrained(
|
|
41 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
42 |
"Corcelio/mobius",
|
43 |
vae=vae,
|
44 |
-
torch_dtype=torch.float16
|
|
|
45 |
)
|
46 |
pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
47 |
pipe.to('cuda')
|
|
|
41 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
42 |
"Corcelio/mobius",
|
43 |
vae=vae,
|
44 |
+
torch_dtype=torch.float16,
|
45 |
+
use_safetensors=False,
|
46 |
)
|
47 |
pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
48 |
pipe.to('cuda')
|