fffiloni commited on
Commit
3f35908
1 Parent(s): 42be67f

cache examples

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -212,7 +212,10 @@ with gr.Blocks(css=css) as demo:
212
 
213
  gr.Examples(
214
  examples = ["examples/photoreal-train.mp4", "examples/train-window.mp4", "examples/chinese-new-year-dragon.mp4", "examples/big-sur.mp4"],
215
- inputs = video_in
 
 
 
216
  )
217
 
218
  submit_btn.click(
 
212
 
213
  gr.Examples(
214
  examples = ["examples/photoreal-train.mp4", "examples/train-window.mp4", "examples/chinese-new-year-dragon.mp4", "examples/big-sur.mp4"],
215
+ fn = infer,
216
+ inputs = [video_in, "Tango"],
217
+ outputs = [audio_o, video_o],
218
+ cache_examples = True
219
  )
220
 
221
  submit_btn.click(