Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ def load_and_prepare_model(model_id):
|
|
122 |
use_safetensors=True,
|
123 |
# vae=vae,
|
124 |
)
|
125 |
-
|
126 |
pipe.to('cuda')
|
127 |
#pipe.to(device=device, dtype=torch.bfloat16)
|
128 |
|
|
|
122 |
use_safetensors=True,
|
123 |
# vae=vae,
|
124 |
)
|
125 |
+
# pipe.scheduler=EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
126 |
pipe.to('cuda')
|
127 |
#pipe.to(device=device, dtype=torch.bfloat16)
|
128 |
|