Spaces:
Running
Running
clementsan
commited on
Commit
•
da842e1
1
Parent(s):
fa4eb33
Change files component height back to 100
Browse files
app.py
CHANGED
@@ -237,7 +237,7 @@ def demo():
|
|
237 |
""")
|
238 |
with gr.Tab("Step 1 - Document pre-processing"):
|
239 |
with gr.Row():
|
240 |
-
document = gr.Files(height=
|
241 |
# upload_btn = gr.UploadButton("Loading document...", height=100, file_count="multiple", file_types=["pdf"], scale=1)
|
242 |
with gr.Row():
|
243 |
db_btn = gr.Radio(["ChromaDB"], label="Vector database type", value = "ChromaDB", type="index", info="Choose your vector database")
|
|
|
237 |
""")
|
238 |
with gr.Tab("Step 1 - Document pre-processing"):
|
239 |
with gr.Row():
|
240 |
+
document = gr.Files(height=100, file_count="multiple", file_types=["pdf"], interactive=True, label="Upload your PDF documents (single or multiple)")
|
241 |
# upload_btn = gr.UploadButton("Loading document...", height=100, file_count="multiple", file_types=["pdf"], scale=1)
|
242 |
with gr.Row():
|
243 |
db_btn = gr.Radio(["ChromaDB"], label="Vector database type", value = "ChromaDB", type="index", info="Choose your vector database")
|