gdnartea commited on
Commit
6a5c442
1 Parent(s): 8ad3677

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -115,7 +115,10 @@ def transcribe(audio_filepath):
115
  return output_text
116
 
117
 
118
- iface = gr.Interface(fn=transcribe, inputs=gr.Audio(sources="microphone"), outputs="text")
 
 
 
119
 
120
  iface.queue()
121
  iface.launch()
 
115
  return output_text
116
 
117
 
118
+ iface = gr.Interface(
119
+ fn=transcribe,
120
+ inputs=[gr.inputs.Audio(sources="microphone", type="filepath")],
121
+ outputs="text")
122
 
123
  iface.queue()
124
  iface.launch()