Thong Nguyen commited on
Commit
3d2e8a9
1 Parent(s): 54fc5ce

Upload file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def video_to_text(video_file):
20
 
21
  iface = gr.Interface(
22
  fn=video_to_text,
23
- inputs=gr.Video(type="file"),
24
  outputs="text",
25
  title="Video to Text Transcription",
26
  description="Upload a video and get the transcribed text"
 
20
 
21
  iface = gr.Interface(
22
  fn=video_to_text,
23
+ inputs=gr.File(file_types=["video"]),
24
  outputs="text",
25
  title="Video to Text Transcription",
26
  description="Upload a video and get the transcribed text"