Lenylvt commited on
Commit
6cb9375
·
verified ·
1 Parent(s): 30d58a1

Update app.py

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