Spaces:
Runtime error
Runtime error
user_msg formatting
Browse files
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 |
-
|
|
|
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 |
|