Phoenix7 commited on
Commit
481079f
·
1 Parent(s): 42a9d8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -20,7 +20,12 @@ def transcribe(audio):
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)
 
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)