Spaces:
Paused
Paused
cache examples
Browse files
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 |
-
|
|
|
|
|
|
|
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(
|