Update app.py
Browse files
app.py
CHANGED
|
@@ -242,7 +242,7 @@ def demo():
|
|
| 242 |
slider_chunk_overlap = 256
|
| 243 |
with gr.Row():
|
| 244 |
document = gr.Files(height=100, file_count="multiple",visible=True,
|
| 245 |
-
file_types=["pdf"], interactive=
|
| 246 |
with gr.Row():
|
| 247 |
db_btn = gr.Radio(["ChromaDB"], label="Vector database type", value = "ChromaDB", type="index", info="Choose your vector database",visible=False)
|
| 248 |
with gr.Accordion("Advanced options - Document text splitter", open=False, visible=False):
|
|
|
|
| 242 |
slider_chunk_overlap = 256
|
| 243 |
with gr.Row():
|
| 244 |
document = gr.Files(height=100, file_count="multiple",visible=True,
|
| 245 |
+
file_types=["pdf"], interactive=True, label="Upload your PDF documents (single or multiple)")
|
| 246 |
with gr.Row():
|
| 247 |
db_btn = gr.Radio(["ChromaDB"], label="Vector database type", value = "ChromaDB", type="index", info="Choose your vector database",visible=False)
|
| 248 |
with gr.Accordion("Advanced options - Document text splitter", open=False, visible=False):
|