Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ def demo():
|
|
133 |
}
|
134 |
#column-left {
|
135 |
min-width: 100px;
|
136 |
-
max-width:
|
137 |
margin-right: 20px;
|
138 |
}
|
139 |
#column-right {
|
@@ -155,7 +155,7 @@ def demo():
|
|
155 |
with gr.Row(elem_id="column-container"):
|
156 |
with gr.Column(elem_id="column-left"):
|
157 |
gr.Markdown("<b>Step 1 - Upload PDF documents and Initialize RAG pipeline</b>")
|
158 |
-
document = gr.Files(height=
|
159 |
db_btn = gr.Button("Create vector database")
|
160 |
db_progress = gr.Textbox(value="Not initialized", show_label=False)
|
161 |
gr.Markdown("<b>Select Large Language Model (LLM) and input parameters</b>")
|
|
|
133 |
}
|
134 |
#column-left {
|
135 |
min-width: 100px;
|
136 |
+
max-width: 15%;
|
137 |
margin-right: 20px;
|
138 |
}
|
139 |
#column-right {
|
|
|
155 |
with gr.Row(elem_id="column-container"):
|
156 |
with gr.Column(elem_id="column-left"):
|
157 |
gr.Markdown("<b>Step 1 - Upload PDF documents and Initialize RAG pipeline</b>")
|
158 |
+
document = gr.Files(height=140, file_count="multiple", file_types=[".pdf"], interactive=True, label="Upload PDF documents")
|
159 |
db_btn = gr.Button("Create vector database")
|
160 |
db_progress = gr.Textbox(value="Not initialized", show_label=False)
|
161 |
gr.Markdown("<b>Select Large Language Model (LLM) and input parameters</b>")
|