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
自动切换翻译器问题 #52
Comments
在这次执行之前,百度api页面上所显示的是正常翻译,代表其实上次翻译是正常使用百度翻译的,但是这次却切换为谷歌了 |
用有道翻译器也是存在这个问题 |
问题似乎被解决了,因为用量确实的被记录在平台上,但是现在出现了新的问题,百度翻译器完全无法使用,显示 |
translators/keys.py里的百度的key填了吗 |
填了 |
选的百度,不行,有道就能正常进行 |
key可能不对,我这里测的百度没有问题 |
确实,之前重置了一次然后少复制了一位,已解决,感谢! |
大佬好,我在Windows段执行命令行翻译整个文件夹,发现其中有段问题:
Inpainting resolution: 1360x1920
-- Translating
oh no.
fail to initialize deepl :
auth_key must not be empty
switch to google translator
-- Rendering translated text
似乎识别我所选择的翻译器为deepl了,实际上我所执行的为
python translate_demo.py --verbose --mode batch --use-inpainting --use-cuda --translator=baidu --target-lang=CHS --image D:/translate/1234
很显然,我所选择的是百度翻译,但是却切换为了谷歌翻译器了,该如何解决这个问题呢,谢谢!
The text was updated successfully, but these errors were encountered: