Teapack1 commited on
Commit
86349f0
1 Parent(s): cb9c21a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -13,9 +13,9 @@ def transcribe(audio):
13
 
14
 
15
  demo = gr.Interface(
16
- transcribe,
17
- gr.Audio(sources=["microphone"]),
18
- "text",
19
  )
20
 
21
- demo.launch()
 
13
 
14
 
15
  demo = gr.Interface(
16
+ fn=transcribe,
17
+ inputs=gr.Audio(sources="upload"),
18
+ outputs=gr.outputs.Textbox(),
19
  )
20
 
21
+ demo.launch(debug=True)