mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-06 11:35:49 +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=[
|
messages=[
|
||||||
{
|
{
|
||||||
"role": "user",
|
"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