Spaces:
Runtime error
Runtime error
Upload fn.py
Browse files
fn.py
CHANGED
@@ -126,7 +126,7 @@ def apply_template(message, history, args):
|
|
126 |
messages = [
|
127 |
{'role': 'user', 'content': cfg['instruction']},
|
128 |
{'role': 'assistant', 'content': 'I understand.'},
|
129 |
-
{'role': 'user', 'content':
|
130 |
]
|
131 |
else:
|
132 |
messages = [
|
|
|
126 |
messages = [
|
127 |
{'role': 'user', 'content': cfg['instruction']},
|
128 |
{'role': 'assistant', 'content': 'I understand.'},
|
129 |
+
{'role': 'user', 'content': message},
|
130 |
]
|
131 |
else:
|
132 |
messages = [
|