Vitrous commited on
Commit
1ffcdfa
·
verified ·
1 Parent(s): 44f3854

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -213,7 +213,7 @@ def chat_thread_response(ai_persona: str,msg_history: str, msg_prompt: str) -> d
213
  '''
214
  else:
215
  prompt_template=f'''
216
- <|im_start|>system{system_message}<|im_end|>
217
  <|im_start|>user {msg_prompt}<|im_end|>
218
  <|im_start|>assistant
219
  '''
 
213
  '''
214
  else:
215
  prompt_template=f'''
216
+ <|im_start|>system{ai_persona}<|im_end|>
217
  <|im_start|>user {msg_prompt}<|im_end|>
218
  <|im_start|>assistant
219
  '''