make openchat a math assistant
modified: app.py
This commit is contained in:
parent
12f1abc4b7
commit
71f8d9d15c
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue