Spaces:
Runtime error
Runtime error
:boom: [Fix] merged_str_list append
Browse files- .gitignore +3 -1
- conversations/message_composer.py +0 -1
.gitignore
CHANGED
@@ -1,2 +1,4 @@
|
|
1 |
__pycache__
|
2 |
-
|
|
|
|
|
|
1 |
__pycache__
|
2 |
+
.vscode
|
3 |
+
tests
|
4 |
+
secrets.json
|
conversations/message_composer.py
CHANGED
@@ -38,7 +38,6 @@ class MessageComposer:
|
|
38 |
role_str = "you"
|
39 |
else:
|
40 |
role_str = "unknown"
|
41 |
-
# self.merged_str += f"`{role_str}`:\n{content}\n\n"
|
42 |
self.merged_str_list.append(f"`{role_str}`:\n{content}")
|
43 |
|
44 |
if suffix:
|
|
|
38 |
role_str = "you"
|
39 |
else:
|
40 |
role_str = "unknown"
|
|
|
41 |
self.merged_str_list.append(f"`{role_str}`:\n{content}")
|
42 |
|
43 |
if suffix:
|