Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def transcribe(audio_file):
|
|
| 19 |
|
| 20 |
# Create the Gradio interface
|
| 21 |
iface = gr.Interface(fn=transcribe,
|
| 22 |
-
inputs=gr.Audio(
|
| 23 |
outputs="text",
|
| 24 |
title="Whisper Transcription",
|
| 25 |
description="Upload an audio file to transcribe it using OpenAI's Whisper model.")
|
|
|
|
| 19 |
|
| 20 |
# Create the Gradio interface
|
| 21 |
iface = gr.Interface(fn=transcribe,
|
| 22 |
+
inputs=gr.Audio(sources="upload", type="filepath"),
|
| 23 |
outputs="text",
|
| 24 |
title="Whisper Transcription",
|
| 25 |
description="Upload an audio file to transcribe it using OpenAI's Whisper model.")
|