Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def transcribe(audio_file):
|
|
20 |
# Create the Gradio interface
|
21 |
iface = gr.Interface(
|
22 |
fn=transcribe,
|
23 |
-
inputs=gr.Audio(
|
24 |
outputs="text",
|
25 |
title="Whisper ASR",
|
26 |
description="Upload an audio file and it will be transcribed using OpenAI's Whisper model."
|
@@ -28,4 +28,4 @@ iface = gr.Interface(
|
|
28 |
|
29 |
# Launch the app
|
30 |
if __name__ == "__main__":
|
31 |
-
iface.launch()
|
|
|
20 |
# Create the Gradio interface
|
21 |
iface = gr.Interface(
|
22 |
fn=transcribe,
|
23 |
+
inputs=gr.Audio(label="Upload your audio file"),
|
24 |
outputs="text",
|
25 |
title="Whisper ASR",
|
26 |
description="Upload an audio file and it will be transcribed using OpenAI's Whisper model."
|
|
|
28 |
|
29 |
# Launch the app
|
30 |
if __name__ == "__main__":
|
31 |
+
iface.launch()
|