mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-04 02:20:18 +00:00
fix: invalid target language when TIME LIMIT (#52)
This commit is contained in:
parent
7200da7b0b
commit
2d5972e76d
@ -124,7 +124,7 @@ class ChatGPT(Base):
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
"content": f"Please help me to translate,`{text}` to Simplified Chinese, please return only translated content not include the origin text",
|
||||
"content": f"Please help me to translate,`{text}` to {self.language}, please return only translated content not include the origin text",
|
||||
}
|
||||
],
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user