Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 无法更改翻译语言和翻译器 / Unable to change translation language and translator #804

Open
regentropfen2013 opened this issue Dec 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@regentropfen2013
Copy link

Issue

使用 python -m manga_translator local -v --use-gpu -i 默认翻译的是英语

尝试使用python -m manga_translator local --verbose --use-gpu --translator=gpt4 --target -lang=CHS -i 后提示

usage: manga_translator [-h] [-v] [--attempts ATTEMPTS] [--ignore-errors] [--model-dir MODEL_DIR]
[--use-gpu | --use-gpu-limited] [--font-path FONT_PATH] [--pre-dict PRE_DICT]
[--post-dict POST_DICT] [--kernel-size KERNEL_SIZE]
manga_translator: error: unrecognized arguments: --translator=gpt4 --target-lang=CHS -i

已经按照指示在根目录创建了 openaikey.env 并填了OPENAI_API_KEY=sk-xx

想请问我是哪里操作有误,需要修改 T_T

Command Line Arguments

No response

Console logs

No response

@regentropfen2013 regentropfen2013 added the bug Something isn't working label Dec 28, 2024
@frederik-uni
Copy link
Contributor

#794 duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants