Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -488,7 +488,8 @@ with demo:
|
|
488 |
gr.Dropdown(choices=MODELS, label="Select Model", value=MODELS[3]),
|
489 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.2, step=0.1, label="Temperature"),
|
490 |
gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls"),
|
491 |
-
document_selector
|
|
|
492 |
],
|
493 |
title="AI-powered Web Search and PDF Chat Assistant",
|
494 |
description="Chat with your PDFs or use web search to answer questions",
|
|
|
488 |
gr.Dropdown(choices=MODELS, label="Select Model", value=MODELS[3]),
|
489 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.2, step=0.1, label="Temperature"),
|
490 |
gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls"),
|
491 |
+
document_selector, # Add the document selector to the chat interface
|
492 |
+
use_web_search
|
493 |
],
|
494 |
title="AI-powered Web Search and PDF Chat Assistant",
|
495 |
description="Chat with your PDFs or use web search to answer questions",
|