Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks() as demo:
|
|
54 |
load_pdf.click(pdf_changes, pdf_doc, langchain_status, queue=False)
|
55 |
|
56 |
|
57 |
-
question.submit(add_text, [chatbot,
|
58 |
bot, chatbot, chatbot
|
59 |
)
|
60 |
|
|
|
54 |
load_pdf.click(pdf_changes, pdf_doc, langchain_status, queue=False)
|
55 |
|
56 |
|
57 |
+
question.submit(add_text, [chatbot, question], [chatbot, question]).then(
|
58 |
bot, chatbot, chatbot
|
59 |
)
|
60 |
|