ChiBenevisamPas commited on
Commit
f2c78cc
·
verified ·
1 Parent(s): c46f600

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -32,9 +32,9 @@ def transcribe_video(video_file):
32
  # Create a Gradio interface
33
  iface = gr.Interface(
34
  fn=transcribe_video,
35
- inputs=gr.inputs.File(label="Upload Video"),
36
- outputs=gr.outputs.File(label="Download Subtitles")
37
  )
38
 
39
  # Launch the interface
40
- iface.launch(share=True)
 
32
  # Create a Gradio interface
33
  iface = gr.Interface(
34
  fn=transcribe_video,
35
+ inputs=gr.File(label="Upload Video"), # Updated to use gr.File()
36
+ outputs=gr.File(label="Download Subtitles") # Updated to use gr.File()
37
  )
38
 
39
  # Launch the interface
40
+ iface.launch(share=True)