update
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def speech_recognize(file):
|
|
36 |
|
37 |
iface = gr.Interface(
|
38 |
fn=speech_recognize,
|
39 |
-
inputs=gr.
|
40 |
outputs="text",
|
41 |
)
|
42 |
iface.launch()
|
|
|
36 |
|
37 |
iface = gr.Interface(
|
38 |
fn=speech_recognize,
|
39 |
+
inputs=gr.Audio(source="microphone", type='filepath'),
|
40 |
outputs="text",
|
41 |
)
|
42 |
iface.launch()
|