Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
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]
|