Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -75,11 +75,10 @@ with gr.Blocks(
|
|
75 |
|
76 |
# Voice chat block
|
77 |
with gr.Blocks() as voice:
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
gr.Interface(fn=respond, inputs=[input, web_search], outputs=[output], live=True)
|
83 |
|
84 |
# Live chat block
|
85 |
with gr.Blocks() as livechat:
|
|
|
75 |
|
76 |
# Voice chat block
|
77 |
with gr.Blocks() as voice:
|
78 |
+
gr.Interface(fn=respond,
|
79 |
+
inputs=[gr.Audio(label="User Input", sources="microphone", type="filepath"), gr.Checkbox(label="Web Search", value=False)],
|
80 |
+
outputs=[gr.Audio(label="AI", autoplay=True)],
|
81 |
+
live=True)
|
|
|
82 |
|
83 |
# Live chat block
|
84 |
with gr.Blocks() as livechat:
|