Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ with gr.Blocks(css=css) as demo:
|
|
93 |
|
94 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
|
95 |
question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")
|
96 |
-
submit_btn = gr.Button("Send
|
97 |
load_pdf.click(loading_pdf, None, langchain_status, queue=False)
|
98 |
load_pdf.click(pdf_changes, inputs=[pdf_doc, openai_key], outputs=[langchain_status], queue=False)
|
99 |
question.submit(add_text, [chatbot, question], [chatbot, question]).then(
|
|
|
93 |
|
94 |
chatbot = gr.Chatbot([], elem_id="chatbot").style(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(loading_pdf, None, langchain_status, queue=False)
|
98 |
load_pdf.click(pdf_changes, inputs=[pdf_doc, openai_key], outputs=[langchain_status], queue=False)
|
99 |
question.submit(add_text, [chatbot, question], [chatbot, question]).then(
|