hexular commited on
Commit
c51057a
1 Parent(s): 24a9ccb
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,6 +21,6 @@ def transcribe(audio):
21
 
22
  return result
23
 
24
- app = gr.Interface(transcribe, gr.Audio(sources=["microphone"]), outputs="textbox")
25
 
26
  app.launch()
 
21
 
22
  return result
23
 
24
+ app = gr.Interface(fn=transcribe, inputs=gr.inputs.Audio(source="microphone", type="filepath"), outputs="textbox")
25
 
26
  app.launch()