Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks() as demo:
|
|
105 |
|
106 |
with gr.Row():
|
107 |
submit = gr.Button("Send")
|
108 |
-
voice_input = gr.Audio(
|
109 |
|
110 |
# Handle text input
|
111 |
msg.submit(process_input, inputs=[msg, state], outputs=[state, chatbot, msg, voice_input]).then(
|
|
|
105 |
|
106 |
with gr.Row():
|
107 |
submit = gr.Button("Send")
|
108 |
+
voice_input = gr.Audio(sources="microphone", type="filepath", label="Voice Input")
|
109 |
|
110 |
# Handle text input
|
111 |
msg.submit(process_input, inputs=[msg, state], outputs=[state, chatbot, msg, voice_input]).then(
|