make openchat a math assistant

modified:   app.py
This commit is contained in:
Russell Ballestrini 2023-12-20 06:30:54 -05:00
parent 12f1abc4b7
commit 71f8d9d15c

2
app.py
View file

@ -712,7 +712,7 @@ def chat_together(
chat_history_str = "\n\n".join(chat_history)
else:
chat_history_str = "<|end_of_turn|>\n\n".join(chat_history)
chat_history_str += "Assistant:"
chat_history_str += "<|end_of_turn|>Math Correct Assistant:"
buffer = "" # Content buffer for accumulating the chunks