zyddnys / manga-image-translator

Translate manga/image 一键翻译各类图片内文字 https://cotrans.touhou.ai/
https://cotrans.touhou.ai/
GNU General Public License v3.0
5.15k stars 533 forks source link

[Bug]: Translator invalid #687

Closed eren-ay closed 2 months ago

eren-ay commented 2 months ago

Issue

Has the google translate option been removed? When I used the default run command, it gave an invalid error. When I selected the sugoi option, it worked. At least it is necessary to edit the readme.

Command Line Arguments

python -m manga_translator -v --translator=google -l ENG -i ./manga_translator/manga-img

Console logs

manga_translator: error: argument --translator: invalid choice: 'google' (choose from 'youdao', 'baidu', 'deepl', 'papago', 'caiyun', 'gpt3', 'gpt3.5', 'gpt4', 'none', 'original', 'sakura', 'offline', 'nllb', 'nllb_big', 'sugoi', 'jparacrawl', 'jparacrawl_big', 'm2m100', 'm2m100_big', 'mbart50')
zyddnys commented 2 months ago

google translator is indeed disabled, readme updated to reflect that