Skip to content

Commit

Permalink
fix: invalid target language when TIME LIMIT (yihong0618#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnosis23 authored Mar 5, 2023
1 parent 7200da7 commit 2d5972e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make_book.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def translate(self, text):
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",
}
],
)
Expand Down

0 comments on commit 2d5972e

Please sign in to comment.