Shreyas094 commited on
Commit
edeeb18
·
verified ·
1 Parent(s): 8a97acc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -479,6 +479,7 @@ def display_documents():
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:
@@ -530,7 +531,7 @@ with demo:
530
  parser_dropdown = gr.Dropdown(choices=["pypdf", "llamaparse"], label="Select PDF Parser", value="llamaparse")
531
  update_button = gr.Button("Upload Document")
532
 
533
- use_web_search
534
 
535
  update_output = gr.Textbox(label="Update Status")
536
 
 
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
+ use_web_search
483
  demo = gr.Blocks()
484
 
485
  with demo:
 
531
  parser_dropdown = gr.Dropdown(choices=["pypdf", "llamaparse"], label="Select PDF Parser", value="llamaparse")
532
  update_button = gr.Button("Upload Document")
533
 
534
+
535
 
536
  update_output = gr.Textbox(label="Update Status")
537