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