Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ with gr.Blocks() as demo:
|
|
117 |
with gr.Row():
|
118 |
# Audio input: records from the microphone.
|
119 |
audio_input = gr.Audio(
|
120 |
-
|
121 |
type="filepath",
|
122 |
label="Record your speech (max 15 seconds)",
|
123 |
elem_id="audio_input"
|
|
|
117 |
with gr.Row():
|
118 |
# Audio input: records from the microphone.
|
119 |
audio_input = gr.Audio(
|
120 |
+
sources=["microphone"],
|
121 |
type="filepath",
|
122 |
label="Record your speech (max 15 seconds)",
|
123 |
elem_id="audio_input"
|