Spaces:
Running
Running
clementsan
commited on
Commit
•
fe331ff
1
Parent(s):
88fa380
Reduce height gradio files component
Browse files
app.py
CHANGED
@@ -215,7 +215,7 @@ def demo():
|
|
215 |
""")
|
216 |
with gr.Tab("Step 1 - Document pre-processing"):
|
217 |
with gr.Row():
|
218 |
-
document = gr.Files(height=
|
219 |
# upload_btn = gr.UploadButton("Loading document...", height=100, file_count="multiple", file_types=["pdf"], scale=1)
|
220 |
with gr.Row():
|
221 |
db_btn = gr.Radio(["ChromaDB"], label="Vector database type", value = "ChromaDB", type="index", info="Choose your vector database")
|
|
|
215 |
""")
|
216 |
with gr.Tab("Step 1 - Document pre-processing"):
|
217 |
with gr.Row():
|
218 |
+
document = gr.Files(height=50, file_count="multiple", file_types=["pdf"], interactive=True, label="Upload your PDF documents (single or multiple)")
|
219 |
# upload_btn = gr.UploadButton("Loading document...", height=100, file_count="multiple", file_types=["pdf"], scale=1)
|
220 |
with gr.Row():
|
221 |
db_btn = gr.Radio(["ChromaDB"], label="Vector database type", value = "ChromaDB", type="index", info="Choose your vector database")
|