Skip to content

Commit

Permalink
Merge pull request #666 from moeflow-com/fix-openai-version
Browse files Browse the repository at this point in the history
upgrade openai & drop GoogleTranslator
  • Loading branch information
zyddnys authored Jul 12, 2024
2 parents 5e6c597 + 3311561 commit 37c209c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions manga_translator/translators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from .common import *
from .baidu import BaiduTranslator
from .google import GoogleTranslator
# from .google import GoogleTranslator
from .youdao import YoudaoTranslator
from .deepl import DeeplTranslator
from .papago import PapagoTranslator
Expand Down Expand Up @@ -30,7 +30,7 @@
}

TRANSLATORS = {
'google': GoogleTranslator,
# 'google': GoogleTranslator,
'youdao': YoudaoTranslator,
'baidu': BaiduTranslator,
'deepl': DeeplTranslator,
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ shapely
requests
cryptography
freetype-py
googletrans==4.0.0rc1
aiohttp
tqdm
deepl
Expand All @@ -28,7 +27,7 @@ websockets
protobuf
ctranslate2
colorama
openai==0.28
openai==1.35.9
open_clip_torch
safetensors
pandas
Expand Down

0 comments on commit 37c209c

Please sign in to comment.