vishwask commited on
Commit
3aa0579
·
verified ·
1 Parent(s): 2e01859

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -206,7 +206,7 @@ def demo():
206
 
207
  # Create a dictionary with the necessary information
208
  pdf_dict = {"value": process_pdfs, "height": 100, "file_count": "multiple",
209
- "visible": True, "file_types": ["pdf"], "interactive": True,
210
  "label": "Uploaded PDF documents"}
211
 
212
  # Create a gr.Files component with the dictionary
@@ -224,7 +224,7 @@ def demo():
224
  with gr.Row():
225
  slider_chunk_overlap = gr.Slider(value=256, label="Chunk overlap", info="Chunk overlap", interactive=False, visible=False)
226
  with gr.Row():
227
- db_progress = gr.Textbox(label="Vector database initialization", value="None")
228
  with gr.Row():
229
  db_btn = gr.Button("Generate vector database...")
230
 
 
206
 
207
  # Create a dictionary with the necessary information
208
  pdf_dict = {"value": process_pdfs, "height": 100, "file_count": "multiple",
209
+ "visible": False, "file_types": ["pdf"], "interactive": True,
210
  "label": "Uploaded PDF documents"}
211
 
212
  # Create a gr.Files component with the dictionary
 
224
  with gr.Row():
225
  slider_chunk_overlap = gr.Slider(value=256, label="Chunk overlap", info="Chunk overlap", interactive=False, visible=False)
226
  with gr.Row():
227
+ db_progress = gr.Textbox(label="Vector database initialization", value="None", visible=False)
228
  with gr.Row():
229
  db_btn = gr.Button("Generate vector database...")
230