Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ def load_and_prepare_model(model_id):
|
|
120 |
use_safetensors=True,
|
121 |
vae=vae,
|
122 |
)
|
123 |
-
sched = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config, beta_schedule="scaled_linear",
|
124 |
#sched = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config, beta_schedule="linear", algorithm_type="dpmsolver++")
|
125 |
#sched = DDIMScheduler.from_config(pipe.scheduler.config)
|
126 |
pipe.scheduler=sched
|
|
|
120 |
use_safetensors=True,
|
121 |
vae=vae,
|
122 |
)
|
123 |
+
sched = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config, beta_schedule="scaled_linear", algorithm_type="dpmsolver++")
|
124 |
#sched = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config, beta_schedule="linear", algorithm_type="dpmsolver++")
|
125 |
#sched = DDIMScheduler.from_config(pipe.scheduler.config)
|
126 |
pipe.scheduler=sched
|