Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -216,7 +216,7 @@ def process_audio_query(audio_input):
|
|
216 |
|
217 |
# Create Gradio Blocks interface with Submit and Clear buttons
|
218 |
with gr.Blocks() as interface:
|
219 |
-
audio_input = gr.Audio(
|
220 |
output_audio = gr.Audio(type="filepath", autoplay=True, label="Response Audio")
|
221 |
submit_btn = gr.Button("Submit")
|
222 |
clear_btn = gr.Button("Clear")
|
|
|
216 |
|
217 |
# Create Gradio Blocks interface with Submit and Clear buttons
|
218 |
with gr.Blocks() as interface:
|
219 |
+
audio_input = gr.Audio(sources="microphone", type="numpy", streaming=True, label="Speak Now")
|
220 |
output_audio = gr.Audio(type="filepath", autoplay=True, label="Response Audio")
|
221 |
submit_btn = gr.Button("Submit")
|
222 |
clear_btn = gr.Button("Clear")
|