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

使用ollama批量翻译的命令是什么。 #858

Open
maxadc opened this issue Feb 25, 2025 · 1 comment
Open

使用ollama批量翻译的命令是什么。 #858

maxadc opened this issue Feb 25, 2025 · 1 comment

Comments

@maxadc
Copy link

maxadc commented Feb 25, 2025

README_CN.md中的命令早就过时了。查了lssues
不知道是不是这个
python3 -m manga_translator local -v --attempts 100 --config-file='path/to/file'
但是 config-file 文件 看了很久,没看懂相关参数填哪里!
求方法

@popcion
Copy link
Contributor

popcion commented Feb 28, 2025

config文件里translator后面填写ollama,然后环境指定模型和api:
OLLAMA_API_BASE
OLLAMA_MODEL
#782

先添加环境
CUSTOM_OPENAI_API_BASE
CUSTOM_OPENAI_MODEL
然后
python3 -m manga_translator local

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants