Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
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(
|