manu commited on
Commit
f700076
β€’
1 Parent(s): 9c9e0a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -81,13 +81,14 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
81
  ColPali is model implemented from the [ColPali paper](https://arxiv.org/abs/2407.01449).
82
 
83
  This demo allows you to upload PDF files and search for the most relevant pages based on your query.
 
84
  """)
85
  with gr.Row():
86
  with gr.Column(scale=2):
87
  gr.Markdown("## 1️⃣ Upload PDFs")
88
  file = gr.File(file_types=["pdf"], file_count="multiple", label="Upload PDFs")
89
 
90
- convert_button = gr.Button("πŸ”„ Convert and upload")
91
  message = gr.Textbox("Files not yet uploaded", label="Status")
92
  embeds = gr.State(value=[])
93
  imgs = gr.State(value=[])
 
81
  ColPali is model implemented from the [ColPali paper](https://arxiv.org/abs/2407.01449).
82
 
83
  This demo allows you to upload PDF files and search for the most relevant pages based on your query.
84
+ Refresh the page if you change documents !
85
  """)
86
  with gr.Row():
87
  with gr.Column(scale=2):
88
  gr.Markdown("## 1️⃣ Upload PDFs")
89
  file = gr.File(file_types=["pdf"], file_count="multiple", label="Upload PDFs")
90
 
91
+ convert_button = gr.Button("πŸ”„ Index documents")
92
  message = gr.Textbox("Files not yet uploaded", label="Status")
93
  embeds = gr.State(value=[])
94
  imgs = gr.State(value=[])