Update app.py
Browse files
app.py
CHANGED
|
@@ -108,7 +108,7 @@ with gr.Blocks() as demo:
|
|
| 108 |
gr.Markdown("# Chat with your PDF documents")
|
| 109 |
|
| 110 |
with gr.Row():
|
| 111 |
-
file_input = gr.
|
| 112 |
update_button = gr.Button("Update Vector Store")
|
| 113 |
|
| 114 |
update_output = gr.Textbox(label="Update Status")
|
|
|
|
| 108 |
gr.Markdown("# Chat with your PDF documents")
|
| 109 |
|
| 110 |
with gr.Row():
|
| 111 |
+
file_input = gr.Files(label="Upload your PDF documents", file_types=[".pdf"])
|
| 112 |
update_button = gr.Button("Update Vector Store")
|
| 113 |
|
| 114 |
update_output = gr.Textbox(label="Update Status")
|