Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,7 +88,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 88 |
with gr.Column(elem_id="col-container"):
|
| 89 |
gr.HTML(title)
|
| 90 |
with gr.Column():
|
| 91 |
-
pdf_doc = gr.File(label="Load a PDF", file_types=['.pdf'], type="
|
| 92 |
load_pdf = gr.Button("Load PDF")
|
| 93 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
| 94 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
|
|
|
| 88 |
with gr.Column(elem_id="col-container"):
|
| 89 |
gr.HTML(title)
|
| 90 |
with gr.Column():
|
| 91 |
+
pdf_doc = gr.File(label="Load a PDF", file_types=['.pdf'], type="filepath")
|
| 92 |
load_pdf = gr.Button("Load PDF")
|
| 93 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
| 94 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|