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