multimodalart HF Staff commited on
Commit
a597398
·
verified ·
1 Parent(s): c938c2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -212,7 +212,7 @@ def _generate(prompt_embeds, text_token_tags, image, last_image, height, width,
212
  return state.get("videos")[0], state.get("audio")[0].cpu(), state.get("sampling_rate")
213
 
214
 
215
- def generate(prompt, image_path, last_image_path, canvas, duration, steps, seed, progress=gr.Progress()):
216
  if LOAD_ERROR:
217
  raise gr.Error(LOAD_ERROR)
218
  if PIPE is None:
 
212
  return state.get("videos")[0], state.get("audio")[0].cpu(), state.get("sampling_rate")
213
 
214
 
215
+ def generate(prompt, image_path, last_image_path, canvas, duration, steps, seed, progress=gr.Progress(track_tqdm=True)):
216
  if LOAD_ERROR:
217
  raise gr.Error(LOAD_ERROR)
218
  if PIPE is None: