multimodalart HF staff commited on
Commit
ff1a3bd
1 Parent(s): f22f594

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -98,8 +98,7 @@ def generate(
98
  guidance_scale=prior_guidance_scale,
99
  num_images_per_prompt=num_images_per_prompt,
100
  generator=generator,
101
- callback=callback_prior,
102
- callback_steps=callback_steps
103
  )
104
 
105
  if PREVIEW_IMAGES:
 
98
  guidance_scale=prior_guidance_scale,
99
  num_images_per_prompt=num_images_per_prompt,
100
  generator=generator,
101
+ callback_on_step_end=callback_prior,
 
102
  )
103
 
104
  if PREVIEW_IMAGES: