fffiloni commited on
Commit
ee9fbcf
1 Parent(s): 040374d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -238,7 +238,10 @@ with gr.Blocks(css=css) as demo:
238
  ["examples/chinese-new-year-dragon.mp4", "Tango"],
239
  ["examples/big-sur.mp4", "AudioLDM-2"]
240
  ],
241
- inputs = [video_in, chosen_model]
 
 
 
242
  )
243
 
244
  video_in.change(
 
238
  ["examples/chinese-new-year-dragon.mp4", "Tango"],
239
  ["examples/big-sur.mp4", "AudioLDM-2"]
240
  ],
241
+ fn=infer,
242
+ inputs = [video_in, chosen_model],
243
+ outputs= [caption_o, retry_btn, audio_o, video_o]
244
+ cache_examples=False
245
  )
246
 
247
  video_in.change(