Update app.py
Browse files
app.py
CHANGED
|
@@ -142,10 +142,10 @@ def demo():
|
|
| 142 |
<b>Please do not upload confidential documents.</b>
|
| 143 |
""")
|
| 144 |
with gr.Row():
|
| 145 |
-
with gr.Column(scale =
|
| 146 |
gr.Markdown("<b>Step 1 - Upload PDF documents and Initialize RAG pipeline</b>")
|
| 147 |
with gr.Row():
|
| 148 |
-
document = gr.Files(height=140,
|
| 149 |
with gr.Row():
|
| 150 |
db_btn = gr.Button("Create vector DB")
|
| 151 |
with gr.Row():
|
|
|
|
| 142 |
<b>Please do not upload confidential documents.</b>
|
| 143 |
""")
|
| 144 |
with gr.Row():
|
| 145 |
+
with gr.Column(scale = 1):
|
| 146 |
gr.Markdown("<b>Step 1 - Upload PDF documents and Initialize RAG pipeline</b>")
|
| 147 |
with gr.Row():
|
| 148 |
+
document = gr.Files(height=140, file_count="multiple", file_types=[".pdf"], interactive=True, label="Upload PDF documents")
|
| 149 |
with gr.Row():
|
| 150 |
db_btn = gr.Button("Create vector DB")
|
| 151 |
with gr.Row():
|