Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,8 +47,8 @@ def transcribe_audio(audio_file):
|
|
47 |
# Define the Gradio interface
|
48 |
iface = gr.Interface(
|
49 |
fn=transcribe_audio,
|
50 |
-
inputs=gr.Audio(
|
51 |
-
outputs=gr.Textbox(),
|
52 |
title="Whisper ASR Demo",
|
53 |
description="Upload an audio file and get the transcribed text using the openai/whisper-large-v3-turbo model.",
|
54 |
)
|
|
|
47 |
# Define the Gradio interface
|
48 |
iface = gr.Interface(
|
49 |
fn=transcribe_audio,
|
50 |
+
inputs=gr.Audio(label="Upload Audio", type="filepath"),
|
51 |
+
outputs=gr.Textbox(label="Transcription"),
|
52 |
title="Whisper ASR Demo",
|
53 |
description="Upload an audio file and get the transcribed text using the openai/whisper-large-v3-turbo model.",
|
54 |
)
|