Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ def scheduler_swap_callback(pipeline, step_index, timestep, callback_kwargs):
|
|
111 |
#pipe.scheduler.set_timesteps(num_inference_steps*.70)
|
112 |
# print(f"-- setting step {pipeline.num_timesteps * 0.9} --")
|
113 |
# pipeline.scheduler._step_index = pipeline.num_timesteps * 0.9
|
114 |
-
return
|
115 |
|
116 |
|
117 |
def load_and_prepare_model():
|
|
|
111 |
#pipe.scheduler.set_timesteps(num_inference_steps*.70)
|
112 |
# print(f"-- setting step {pipeline.num_timesteps * 0.9} --")
|
113 |
# pipeline.scheduler._step_index = pipeline.num_timesteps * 0.9
|
114 |
+
return {"latents": callback_kwargs["latents"]}
|
115 |
|
116 |
|
117 |
def load_and_prepare_model():
|