JSAV commited on
Commit
78bac4c
1 Parent(s): 6cc9da5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,7 +39,8 @@ def bot_response(respuesta):
39
 
40
  def respond(message, chat_history, history):
41
  #print(history,type(history))
42
- bot_message= res(message,history)[0]
 
43
  chat_history.append((message, bot_message))
44
  upload_list_sharepoint(conversation_id,"Anonymous",message,bot_message)
45
  return "", chat_history,response[1]
 
39
 
40
  def respond(message, chat_history, history):
41
  #print(history,type(history))
42
+ response=res(message,history)
43
+ bot_message= response[0]
44
  chat_history.append((message, bot_message))
45
  upload_list_sharepoint(conversation_id,"Anonymous",message,bot_message)
46
  return "", chat_history,response[1]