Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -243,7 +243,8 @@ demo = gr.ChatInterface(
|
|
243 |
additional_inputs=[
|
244 |
gr.Dropdown(choices=MODELS, label="Select Model", value=MODELS[1]),
|
245 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.2, step=0.1, label="Temperature"),
|
246 |
-
gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls")
|
|
|
247 |
],
|
248 |
title="AI-powered Web Search and PDF Chat Assistant",
|
249 |
description="Chat with your PDFs or use web search to answer questions.",
|
|
|
243 |
additional_inputs=[
|
244 |
gr.Dropdown(choices=MODELS, label="Select Model", value=MODELS[1]),
|
245 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.2, step=0.1, label="Temperature"),
|
246 |
+
gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls"),
|
247 |
+
use_web_search # Add this line to include the checkbox
|
248 |
],
|
249 |
title="AI-powered Web Search and PDF Chat Assistant",
|
250 |
description="Chat with your PDFs or use web search to answer questions.",
|