Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def transcribe(audio_file):
|
|
| 34 |
|
| 35 |
# Define the Gradio interface
|
| 36 |
iface = gr.Interface(fn=transcribe,
|
| 37 |
-
inputs=gr.
|
| 38 |
outputs="text",
|
| 39 |
title="Whisper Transcription with Enhanced Timestamps",
|
| 40 |
description="Upload an audio file to get transcription with enhanced timestamps in HH:MM:SS.mmm format using Faster Whisper.")
|
|
|
|
| 34 |
|
| 35 |
# Define the Gradio interface
|
| 36 |
iface = gr.Interface(fn=transcribe,
|
| 37 |
+
inputs=gr.Audio(sources="upload", type="filepath", label="Upload Audio"),
|
| 38 |
outputs="text",
|
| 39 |
title="Whisper Transcription with Enhanced Timestamps",
|
| 40 |
description="Upload an audio file to get transcription with enhanced timestamps in HH:MM:SS.mmm format using Faster Whisper.")
|