Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def transcribe(audio_file):
|
|
13 |
|
14 |
# Create the Gradio interface
|
15 |
iface = gr.Interface(fn=transcribe,
|
16 |
-
inputs=gr.
|
17 |
outputs="text",
|
18 |
title="Whisper Transcription",
|
19 |
description="Upload an audio file to transcribe it using OpenAI's Whisper model.")
|
|
|
13 |
|
14 |
# Create the Gradio interface
|
15 |
iface = gr.Interface(fn=transcribe,
|
16 |
+
inputs=gr.Audio(sources="upload", type="filepath", label="Upload Audio"),
|
17 |
outputs="text",
|
18 |
title="Whisper Transcription",
|
19 |
description="Upload an audio file to transcribe it using OpenAI's Whisper model.")
|