Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def save_audio_chunk_to_temp(audio):
|
|
| 16 |
|
| 17 |
iface = gr.Interface(
|
| 18 |
fn=save_audio_chunk_to_temp,
|
| 19 |
-
inputs=gr.Audio(
|
| 20 |
outputs="text",
|
| 21 |
live=True
|
| 22 |
)
|
|
|
|
| 16 |
|
| 17 |
iface = gr.Interface(
|
| 18 |
fn=save_audio_chunk_to_temp,
|
| 19 |
+
inputs=gr.Audio(sources=["microphone"], streaming=True),
|
| 20 |
outputs="text",
|
| 21 |
live=True
|
| 22 |
)
|