Update app.py
Browse files
app.py
CHANGED
@@ -231,18 +231,17 @@ with gr.Blocks() as iface:
|
|
231 |
)
|
232 |
|
233 |
example_btn_1.click(
|
234 |
-
|
235 |
inputs=[],
|
236 |
-
outputs=
|
237 |
-
_js="() => 'appendix/Bill Clinton and Jim Lehrer.mp4'"
|
238 |
)
|
239 |
-
|
240 |
example_btn_2.click(
|
241 |
-
|
242 |
inputs=[],
|
243 |
-
outputs=
|
244 |
-
_js="() => 'appendix/Wade_Wilson_Penalty_Phase_Trial.mp4'"
|
245 |
)
|
246 |
|
|
|
247 |
if __name__ == "__main__":
|
248 |
iface.launch()
|
|
|
231 |
)
|
232 |
|
233 |
example_btn_1.click(
|
234 |
+
lambda: "appendix/Bill Clinton and Jim Lehrer.mp4",
|
235 |
inputs=[],
|
236 |
+
outputs=video_input
|
|
|
237 |
)
|
238 |
+
|
239 |
example_btn_2.click(
|
240 |
+
lambda: "appendix/Wade_Wilson_Penalty_Phase_Trial.mp4",
|
241 |
inputs=[],
|
242 |
+
outputs=video_input
|
|
|
243 |
)
|
244 |
|
245 |
+
|
246 |
if __name__ == "__main__":
|
247 |
iface.launch()
|