Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def transcribe_audio(input_audio):
|
|
| 26 |
|
| 27 |
iface = gr.Interface(
|
| 28 |
fn=transcribe_audio,
|
| 29 |
-
inputs=gr.Audio(
|
| 30 |
outputs="text",
|
| 31 |
live=True
|
| 32 |
)
|
|
|
|
| 26 |
|
| 27 |
iface = gr.Interface(
|
| 28 |
fn=transcribe_audio,
|
| 29 |
+
inputs=gr.Audio(type="microphone", label="Speak"), # Updated: Removed 'source'
|
| 30 |
outputs="text",
|
| 31 |
live=True
|
| 32 |
)
|