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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -478,7 +478,7 @@ def display_documents():
478
 
479
  # Define the checkbox outside the demo block
480
  document_selector = gr.CheckboxGroup(label="Select documents to query")
481
-
482
  demo = gr.Blocks()
483
 
484
  with demo:
@@ -520,8 +520,7 @@ with demo:
520
  cache_examples=False,
521
  analytics_enabled=False,
522
  )
523
-
524
- use_web_search = gr.Checkbox(label="Use Web Search", value=True)
525
 
526
  # Add file upload functionality
527
  gr.Markdown("## Upload PDF Documents")
 
478
 
479
  # Define the checkbox outside the demo block
480
  document_selector = gr.CheckboxGroup(label="Select documents to query")
481
+ use_web_search = gr.Checkbox(label="Use Web Search", value=True)
482
  demo = gr.Blocks()
483
 
484
  with demo:
 
520
  cache_examples=False,
521
  analytics_enabled=False,
522
  )
523
+
 
524
 
525
  # Add file upload functionality
526
  gr.Markdown("## Upload PDF Documents")