Lenylvt commited on
Commit
e508c61
·
verified ·
1 Parent(s): 3a81031

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.inputs.Audio(source="upload", type="file", 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.")
 
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.")