Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ def get_response(msg, bot, doc_text_list, doc_embeddings):
|
|
129 |
res = result.json()['content']
|
130 |
bot.append([msg, res])
|
131 |
chat_bot.chat_history = doc_text_state.value
|
132 |
-
return bot[max(0, len(bot) - 3):]
|
133 |
|
134 |
|
135 |
def up_file(fls):
|
|
|
129 |
res = result.json()['content']
|
130 |
bot.append([msg, res])
|
131 |
chat_bot.chat_history = doc_text_state.value
|
132 |
+
return bot[max(0, len(bot) - 3):],bot
|
133 |
|
134 |
|
135 |
def up_file(fls):
|