Skip to content

Commit

Permalink
修正标题翻译错误
Browse files Browse the repository at this point in the history
  • Loading branch information
lyy289065406 committed Aug 25, 2024
1 parent 732d5e4 commit 8381e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def translate(args, filepath) :
log.info("正在机翻内容 ...")
# title = trans(title, from_lang='ja', to_lang='zh',
# platform=TENCENT, api_id=args.api_id, api_key=args.api_key)
title = trans(content,
title = trans(title,
platform=CHATGPT, api_id='', api_key=args.gpt_key,
args={
ARG_OPENAI_MODEL: CHATGPT_4o,
Expand Down

0 comments on commit 8381e5a

Please sign in to comment.