Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ with gr.Blocks() as demo:
|
|
112 |
|
113 |
with gr.Row():
|
114 |
submit = gr.Button("Send")
|
115 |
-
voice_input = gr.Audio(
|
116 |
|
117 |
# Initialize chat with greeting
|
118 |
demo.load(init_chat, outputs=[state, chatbot, audio_output])
|
|
|
112 |
|
113 |
with gr.Row():
|
114 |
submit = gr.Button("Send")
|
115 |
+
voice_input = gr.Audio(sources="microphone", type="filepath", label="Voice Input")
|
116 |
|
117 |
# Initialize chat with greeting
|
118 |
demo.load(init_chat, outputs=[state, chatbot, audio_output])
|