Teapack1 commited on
Commit
4290093
1 Parent(s): 91376db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,9 +17,9 @@ def transcribe(stream, new_chunk):
17
 
18
 
19
  demo = gr.Interface(
20
- transcribe,
21
- ["state", gr.Audio(sources=["microphone"], streaming=True)],
22
- ["state", "text"],
23
  live=True,
24
  )
25
 
 
17
 
18
 
19
  demo = gr.Interface(
20
+ fn=transcribe,
21
+ inputs = gr.Audio(sources=["microphone"], streaming=True),
22
+ outputs = gr.outputs.Textbox(),
23
  live=True,
24
  )
25