Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def transcribe(audio_file):
|
|
26 |
|
27 |
# Define the Gradio interface
|
28 |
iface = gr.Interface(fn=transcribe,
|
29 |
-
inputs=gr.
|
30 |
outputs="text",
|
31 |
title="Whisper Transcription with Line-by-Line Timestamps",
|
32 |
description="Upload an audio file to get transcription with line-by-line timestamps using Faster Whisper.")
|
|
|
26 |
|
27 |
# Define the Gradio interface
|
28 |
iface = gr.Interface(fn=transcribe,
|
29 |
+
inputs=gr.Audio(sources="upload", type="filepath", label="Upload Audio"),
|
30 |
outputs="text",
|
31 |
title="Whisper Transcription with Line-by-Line Timestamps",
|
32 |
description="Upload an audio file to get transcription with line-by-line timestamps using Faster Whisper.")
|