gbsim commited on
Commit
beb0deb
·
verified ·
1 Parent(s): f321cec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,5 +5,5 @@ def test(vid):
5
  return vid
6
 
7
 
8
- iface = gr.Interface(fn=test, gr.Video(), 'playable_video', examples=[os.path.join(os.path.dirname(__file__), 'sample.mp4')], cache_examples=True)
9
  iface.launch(share=True)
 
5
  return vid
6
 
7
 
8
+ iface = gr.Interface(fn=test, inputs="video", outputs="video", examples=[os.path.join(os.path.dirname(__file__), 'sample.mp4')])
9
  iface.launch(share=True)