skoneru commited on
Commit
116a743
·
verified ·
1 Parent(s): 7527b73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -128,7 +128,7 @@ def reply_bot(message, history):
128
  curr_prompt = system_prompt + message + " [/INST]"
129
  if len(history) != 0:
130
  for human, ai in history:
131
- system_prompt += human + " [/INST]" + ai + "</s><s>[INST]\n"
132
 
133
  curr_prompt = system_prompt + message + " [/INST]"
134
  else:
 
128
  curr_prompt = system_prompt + message + " [/INST]"
129
  if len(history) != 0:
130
  for human, ai in history:
131
+ system_prompt += human + " [/INST]" + ai + "<s>[INST]\n"
132
 
133
  curr_prompt = system_prompt + message + " [/INST]"
134
  else: