Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -694,7 +694,7 @@ demo = gr.Interface(
|
|
| 694 |
gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls"),
|
| 695 |
gr.Checkbox(label="Use Web Search", value=True),
|
| 696 |
gr.CheckboxGroup(label="Select documents to query"),
|
| 697 |
-
gr.Audio(
|
| 698 |
],
|
| 699 |
outputs=[gr.Chatbot()],
|
| 700 |
title="AI-powered PDF Chat and Web Search Assistant",
|
|
|
|
| 694 |
gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls"),
|
| 695 |
gr.Checkbox(label="Use Web Search", value=True),
|
| 696 |
gr.CheckboxGroup(label="Select documents to query"),
|
| 697 |
+
gr.Audio(sources="microphone", type="filepath")
|
| 698 |
],
|
| 699 |
outputs=[gr.Chatbot()],
|
| 700 |
title="AI-powered PDF Chat and Web Search Assistant",
|