borodache commited on
Commit
41ce6d1
·
verified ·
1 Parent(s): 12a8453

correct bug in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def create_chat_interface(rag_agent=rag_agent):
95
 
96
  def bot_message(history):
97
  user_message = history[-1][0]
98
- bot_response = chatbot.chat(user_message, history)
99
  history[-1][1] = bot_response
100
  return history
101
 
 
95
 
96
  def bot_message(history):
97
  user_message = history[-1][0]
98
+ bot_response = chatbot.chat(user_message)
99
  history[-1][1] = bot_response
100
  return history
101