Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ def upload_pdf(pdf_file):
|
|
116 |
|
117 |
def respond(message, history):
|
118 |
bot_message = pdf_chatbot.chat(message)
|
119 |
-
history.append((
|
120 |
return "", history
|
121 |
|
122 |
def clear_chatbot():
|
|
|
116 |
|
117 |
def respond(message, history):
|
118 |
bot_message = pdf_chatbot.chat(message)
|
119 |
+
history.append((message, bot_message))
|
120 |
return "", history
|
121 |
|
122 |
def clear_chatbot():
|