Phoenix7 commited on
Commit
eb93ade
1 Parent(s): 481079f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -20,12 +20,7 @@ def transcribe(audio):
20
 
21
  return transcript["text"]
22
 
23
- demo = gr.Interface(fn=transcribe,
24
- inputs=[
25
- gr.Audio(source="microphone", type="filepath"),
26
- gr.Text(source="text"),
27
- outputs="text")
28
- ]
29
 
30
  demo.launch()
31
  #demo.launch(share=True)
 
20
 
21
  return transcript["text"]
22
 
23
+ demo = gr.Interface(fn=transcribe, inputs=gr.Audio(source="microphone", type="filepath"), outputs="text")
 
 
 
 
 
24
 
25
  demo.launch()
26
  #demo.launch(share=True)