ford442 commited on
Commit
aa0c4ec
·
verified ·
1 Parent(s): ea90117

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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():