Queimo commited on
Commit
4b60223
·
1 Parent(s): 0b2172e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -23,11 +23,12 @@ def transcribe_speech(file_info):
23
  # Create the Gradio interface
24
  iface = gr.Interface(
25
  fn=transcribe_speech,
26
- inputs=gr.Audio(source="upload", type="filepath", label="Upload your MP3 file"),
27
  outputs="text",
28
  title="Speech to Text Conversion",
29
  description="Upload an MP3 file to transcribe it to text using a state-of-the-art speech-to-text model."
30
  )
31
 
 
32
  # Run the Gradio app
33
  iface.launch()
 
23
  # Create the Gradio interface
24
  iface = gr.Interface(
25
  fn=transcribe_speech,
26
+ inputs=gr.Audio(label="Upload your MP3 file"),
27
  outputs="text",
28
  title="Speech to Text Conversion",
29
  description="Upload an MP3 file to transcribe it to text using a state-of-the-art speech-to-text model."
30
  )
31
 
32
+
33
  # Run the Gradio app
34
  iface.launch()