Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
36 |
-
outputs=gr.
|
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)
|