Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,6 @@ pipe = StableDiffusionXLPipeline.from_pretrained(
|
|
24 |
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
|
25 |
use_safetensors=True,
|
26 |
add_watermarker=False,
|
27 |
-
variant="fp16" if torch.cuda.is_available() else None,
|
28 |
).to(device)
|
29 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
30 |
|
|
|
24 |
torch_dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
|
25 |
use_safetensors=True,
|
26 |
add_watermarker=False,
|
|
|
27 |
).to(device)
|
28 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
29 |
|