Update app.py
Browse files
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{
|
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 |
'''
|