Shreyas094 commited on
Commit
81a8535
·
verified ·
1 Parent(s): ff7a098

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 # Add the document selector to the chat interface
 
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",