Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ css = """
|
|
57 |
|
58 |
.title {
|
59 |
text-align: center;
|
60 |
-
max-width:
|
61 |
color: #000;
|
62 |
}
|
63 |
|
@@ -110,7 +110,7 @@ with gr.Blocks(css=css) as demo:
|
|
110 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
111 |
question = gr.Textbox(label="Question", placeholder="Type your Question and hit Enter ",elem_id="chatbot .user-message")
|
112 |
submit_btn = gr.Button("Send message")
|
113 |
-
load_pdf.click(loading_pdf, None, langchain_status, queue=False)
|
114 |
repo_id.change(pdf_changes, inputs=[pdf_doc, repo_id], outputs=[langchain_status], queue=False)
|
115 |
load_pdf.click(pdf_changes, inputs=[pdf_doc, repo_id], outputs=[langchain_status], queue=False)
|
116 |
question.submit(add_text, [chatbot, question], [chatbot, question]).then(
|
|
|
57 |
|
58 |
.title {
|
59 |
text-align: center;
|
60 |
+
max-width: 600px;
|
61 |
color: #000;
|
62 |
}
|
63 |
|
|
|
110 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
111 |
question = gr.Textbox(label="Question", placeholder="Type your Question and hit Enter ",elem_id="chatbot .user-message")
|
112 |
submit_btn = gr.Button("Send message")
|
113 |
+
#load_pdf.click(loading_pdf, None, langchain_status, queue=False)
|
114 |
repo_id.change(pdf_changes, inputs=[pdf_doc, repo_id], outputs=[langchain_status], queue=False)
|
115 |
load_pdf.click(pdf_changes, inputs=[pdf_doc, repo_id], outputs=[langchain_status], queue=False)
|
116 |
question.submit(add_text, [chatbot, question], [chatbot, question]).then(
|