aka7774 commited on
Commit
e75b8ce
1 Parent(s): 05fcb81

Upload fn.py

Browse files
Files changed (1) hide show
  1. fn.py +1 -1
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': messages},
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 = [