Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,9 @@ def transcribe(stream, new_chunk):
|
|
17 |
|
18 |
|
19 |
demo = gr.Interface(
|
20 |
-
transcribe,
|
21 |
-
|
22 |
-
|
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 |
|