Ubuntu commited on
Commit
e919b4e
·
1 Parent(s): 10a77df
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +1 -1
  2. app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -25,7 +25,7 @@ def video_identity(video):
25
 
26
  return str(frameNr)
27
  demo = gr.Interface(video_identity,
28
- gr.File(file_count="multiple"),
29
  'text',
30
  cache_examples=True)
31
  demo.launch()
 
25
 
26
  return str(frameNr)
27
  demo = gr.Interface(video_identity,
28
+ gr.Video(),
29
  'text',
30
  cache_examples=True)
31
  demo.launch()
app.py CHANGED
@@ -25,7 +25,7 @@ def video_identity(video):
25
 
26
  return str(frameNr)
27
  demo = gr.Interface(video_identity,
28
- gr.File(file_count="multiple"),
29
  'text',
30
  cache_examples=True)
31
  demo.launch()
 
25
 
26
  return str(frameNr)
27
  demo = gr.Interface(video_identity,
28
+ gr.Video(),
29
  'text',
30
  cache_examples=True)
31
  demo.launch()