reab5555 commited on
Commit
6a0db0a
·
verified ·
1 Parent(s): 6f9b648

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -231,18 +231,17 @@ with gr.Blocks() as iface:
231
  )
232
 
233
  example_btn_1.click(
234
- set_video_path,
235
  inputs=[],
236
- outputs=[video_input],
237
- _js="() => 'appendix/Bill Clinton and Jim Lehrer.mp4'"
238
  )
239
-
240
  example_btn_2.click(
241
- set_video_path,
242
  inputs=[],
243
- outputs=[video_input],
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()