nikravan commited on
Commit
ec5921d
·
verified ·
1 Parent(s): 582365f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def predict(message, history, system_prompt, temperature, max_new_tokens, top_k,
65
  instruction = '<|System|>\n' + system_prompt + '\n'
66
  for user, assistant in history:
67
  instruction += f'<|User|>\n{user}\n<|Assistant|>\n{assistant}\n'
68
- instruction += f'<|User|>\n{message}\n<|Assistant|>\n'
69
 
70
  print(instruction)
71
 
 
65
  instruction = '<|System|>\n' + system_prompt + '\n'
66
  for user, assistant in history:
67
  instruction += f'<|User|>\n{user}\n<|Assistant|>\n{assistant}\n'
68
+ instruction += f'<|User|>\n{message}\n<think>\n'
69
 
70
  print(instruction)
71