harshananddev commited on
Commit
8a8c358
·
verified ·
1 Parent(s): 4af88fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def speech_to_text(audio):
50
  # Create Gradio interface
51
  iface = gr.Interface(
52
  fn=speech_to_text,
53
- inputs=gr.Audio(source="microphone", type="file"),
54
  outputs="text",
55
  live=True,
56
  title="Speech to Text",
 
50
  # Create Gradio interface
51
  iface = gr.Interface(
52
  fn=speech_to_text,
53
+ inputs=gr.Audio(type="filepath"),
54
  outputs="text",
55
  live=True,
56
  title="Speech to Text",