Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 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").
|
| 95 |
question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")
|
| 96 |
submit_btn = gr.Button("Send message")
|
| 97 |
load_pdf.click(pdf_changes, inputs=[pdf_doc], outputs=[langchain_status], queue=False)
|
|
|
|
| 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").scale(height=350)
|
| 95 |
question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")
|
| 96 |
submit_btn = gr.Button("Send message")
|
| 97 |
load_pdf.click(pdf_changes, inputs=[pdf_doc], outputs=[langchain_status], queue=False)
|