Spaces:
Running
on
Zero
Running
on
Zero
Yjiggfghhjnjj
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,10 +39,7 @@ ENABLE_CPU_OFFLOAD = 0
|
|
| 39 |
if torch.cuda.is_available():
|
| 40 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
| 41 |
"RunDiffusion/Juggernaut-X-v10",
|
| 42 |
-
torch_dtype=torch.float16
|
| 43 |
-
use_safetensors=True,
|
| 44 |
-
add_watermarker=False,
|
| 45 |
-
variant="fp16"
|
| 46 |
)
|
| 47 |
#pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
| 48 |
|
|
|
|
| 39 |
if torch.cuda.is_available():
|
| 40 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
| 41 |
"RunDiffusion/Juggernaut-X-v10",
|
| 42 |
+
torch_dtype=torch.float16
|
|
|
|
|
|
|
|
|
|
| 43 |
)
|
| 44 |
#pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
| 45 |
|