Shreyas094 commited on
Commit
a232636
·
verified ·
1 Parent(s): 8ed4a95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -432,8 +432,7 @@ demo = gr.ChatInterface(
432
  gr.Dropdown(choices=MODELS, label="Select Model", value=MODELS[0]),
433
  gr.Slider(minimum=0.1, maximum=1.0, value=0.2, step=0.1, label="Temperature"),
434
  gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls"),
435
- use_web_search,
436
- document_selector # Add this line
437
  ],
438
  title="AI-powered Web Search and PDF Chat Assistant",
439
  description="Chat with your PDFs or use web search to answer questions.",
 
432
  gr.Dropdown(choices=MODELS, label="Select Model", value=MODELS[0]),
433
  gr.Slider(minimum=0.1, maximum=1.0, value=0.2, step=0.1, label="Temperature"),
434
  gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls"),
435
+ use_web_search
 
436
  ],
437
  title="AI-powered Web Search and PDF Chat Assistant",
438
  description="Chat with your PDFs or use web search to answer questions.",