Raghav001 commited on
Commit
c12006d
·
1 Parent(s): 1bf086d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):