peterkros commited on
Commit
9e71ecb
·
verified ·
1 Parent(s): 75c9600

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):
13
  # Create a Gradio Interface
14
  interface = gr.Interface(
15
  fn=transcribe,
16
- inputs=gr.Audio(source="upload", type="filepath"),
17
  outputs="text",
18
  title="Whisper Speech-to-Text API",
19
  description="Upload an audio file and get a transcription using OpenAI's Whisper model from Hugging Face."
 
13
  # Create a Gradio Interface
14
  interface = gr.Interface(
15
  fn=transcribe,
16
+ inputs=gr.Audio(sources="upload", type="filepath"),
17
  outputs="text",
18
  title="Whisper Speech-to-Text API",
19
  description="Upload an audio file and get a transcription using OpenAI's Whisper model from Hugging Face."