Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def transcribe_speech(file_info):
|
|
23 |
# Create the Gradio interface
|
24 |
iface = gr.Interface(
|
25 |
fn=transcribe_speech,
|
26 |
-
inputs=gr.
|
27 |
outputs="text",
|
28 |
title="Speech to Text Conversion",
|
29 |
description="Upload an MP3 file to transcribe it to text using a state-of-the-art speech-to-text model."
|
|
|
23 |
# Create the Gradio interface
|
24 |
iface = gr.Interface(
|
25 |
fn=transcribe_speech,
|
26 |
+
inputs=gr.Audio(source="upload", type="filepath", label="Upload your MP3 file"),
|
27 |
outputs="text",
|
28 |
title="Speech to Text Conversion",
|
29 |
description="Upload an MP3 file to transcribe it to text using a state-of-the-art speech-to-text model."
|