Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
8a8852c
1
Parent(s):
4897aa3
Update app.py
Browse files
app.py
CHANGED
@@ -45,8 +45,8 @@ ENABLE_CPU_OFFLOAD = 0
|
|
45 |
|
46 |
if torch.cuda.is_available():
|
47 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
48 |
-
"SG161222/
|
49 |
-
torch_dtype=torch.
|
50 |
use_safetensors=True,
|
51 |
)
|
52 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
|
|
45 |
|
46 |
if torch.cuda.is_available():
|
47 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
48 |
+
"SG161222/RealVisXL_V5.0_Lightning",
|
49 |
+
torch_dtype=torch.float32,
|
50 |
use_safetensors=True,
|
51 |
)
|
52 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|