Update app.py
Browse files
app.py
CHANGED
|
@@ -23,11 +23,12 @@ def transcribe_speech(file_info):
|
|
| 23 |
# Create the Gradio interface
|
| 24 |
iface = gr.Interface(
|
| 25 |
fn=transcribe_speech,
|
| 26 |
-
inputs=gr.Audio(
|
| 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."
|
| 30 |
)
|
| 31 |
|
|
|
|
| 32 |
# Run the Gradio app
|
| 33 |
iface.launch()
|
|
|
|
| 23 |
# Create the Gradio interface
|
| 24 |
iface = gr.Interface(
|
| 25 |
fn=transcribe_speech,
|
| 26 |
+
inputs=gr.Audio(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."
|
| 30 |
)
|
| 31 |
|
| 32 |
+
|
| 33 |
# Run the Gradio app
|
| 34 |
iface.launch()
|