Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def transcribe(audio):
|
|
25 |
|
26 |
iface = gr.Interface(
|
27 |
fn=transcribe,
|
28 |
-
inputs=gr.Audio(
|
29 |
outputs="text",
|
30 |
live=True,
|
31 |
title="Speech-to-Text Demo",
|
|
|
25 |
|
26 |
iface = gr.Interface(
|
27 |
fn=transcribe,
|
28 |
+
inputs=gr.Audio(sources="microphone", type="filepath"),
|
29 |
outputs="text",
|
30 |
live=True,
|
31 |
title="Speech-to-Text Demo",
|