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

user_msg formatting

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -41,7 +41,8 @@ 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_name: 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
+ user_msg = user_name + ':「' + user_text + ''
45
+ chatbot.append((user_msg, response))
46
  return chatbot, None
47
 
48