Fix issue with adding characters twice
This commit is contained in:
parent
d3b8d7030a
commit
37dd41ab38
1 changed files with 1 additions and 1 deletions
|
|
@ -2160,7 +2160,7 @@ Output ONLY the {LANGUAGE} translation in the following format: `Translation: <{
|
|||
|
||||
def translateText(characters, system, user, history, penalty, format):
|
||||
# Prompt
|
||||
msg = [{"role": "system", "content": system + characters}]
|
||||
msg = [{"role": "system", "content": system}]
|
||||
|
||||
# Characters
|
||||
msg.append({"role": "system", "content": characters})
|
||||
|
|
|
|||
Loading…
Reference in a new issue