chenxiYan commited on
Commit
8e041b6
1 Parent(s): fb42bcc

user_msg formatting

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def get_response(user_name, user_text, role, chatbot):
41
  story_db=db_folder,
42
  verbose=True)
43
  response = haruhi.chat(role=user_name, text=user_text)
44
- chatbot.append((user_text, response))
45
  return chatbot, None
46
 
47
 
 
41
  story_db=db_folder,
42
  verbose=True)
43
  response = haruhi.chat(role=user_name, text=user_text)
44
+ chatbot.append(({user_name: 「user_text」}, response)))
45
  return chatbot, None
46
 
47