Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,14 +54,15 @@ title = """
|
|
54 |
"""
|
55 |
|
56 |
|
57 |
-
with gr.Blocks() as demo:
|
58 |
with gr.Column(elem_id="col-container"):
|
59 |
gr.HTML(title)
|
60 |
|
61 |
-
with gr.
|
62 |
pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
|
63 |
-
|
64 |
-
|
|
|
65 |
|
66 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
67 |
with gr.Row():
|
|
|
54 |
"""
|
55 |
|
56 |
|
57 |
+
with gr.Blocks(css=css) as demo:
|
58 |
with gr.Column(elem_id="col-container"):
|
59 |
gr.HTML(title)
|
60 |
|
61 |
+
with gr.Column():
|
62 |
pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
|
63 |
+
with gr.Row():
|
64 |
+
langchain_status = gr.Textbox(label="Status")
|
65 |
+
load_pdf = gr.Button("Load pdf to langchain")
|
66 |
|
67 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
68 |
with gr.Row():
|