Bikatr7 commited on
Commit
0be51e4
1 Parent(s): dcecef6

3.4.10 push

Browse files
modules/common/toolkit.py CHANGED
@@ -15,7 +15,7 @@ class Toolkit():
15
 
16
  """
17
 
18
- CURRENT_VERSION = "v3.4.9"
19
 
20
  ##-------------------start-of-clear_console()---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21
 
 
15
 
16
  """
17
 
18
+ CURRENT_VERSION = "v3.4.10"
19
 
20
  ##-------------------start-of-clear_console()---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
21
 
modules/common/translator.py CHANGED
@@ -217,7 +217,7 @@ class Translator:
217
  else:
218
  method = Translator.TRANSLATION_METHOD
219
 
220
- Translator.TRANSLATION_METHOD, api_key_path = translation_methods.get(method, ("deepl", FileEnsurer.deepl_api_key_path))
221
 
222
  if(Translator.pre_provided_api_key != ""):
223
  if(Translator.TRANSLATION_METHOD == "google translate"):
 
217
  else:
218
  method = Translator.TRANSLATION_METHOD
219
 
220
+ Translator.TRANSLATION_METHOD, api_key_path = translation_methods.get(method, ("deepl", FileEnsurer.deepl_api_key_path)) #type: ignore
221
 
222
  if(Translator.pre_provided_api_key != ""):
223
  if(Translator.TRANSLATION_METHOD == "google translate"):
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  backoff==2.2.1
2
  gradio==4.20.0
3
  kairyou==1.6.5
4
- easytl==0.4.4
5
  ja_core_news_lg @ https://github.com/explosion/spacy-models/releases/download/ja_core_news_lg-3.7.0/ja_core_news_lg-3.7.0-py3-none-any.whl#sha256=f08eecb4d40523045c9478ce59a67564fd71edd215f32c076fa91dc1f05cc7fd
 
1
  backoff==2.2.1
2
  gradio==4.20.0
3
  kairyou==1.6.5
4
+ easytl==0.4.6
5
  ja_core_news_lg @ https://github.com/explosion/spacy-models/releases/download/ja_core_news_lg-3.7.0/ja_core_news_lg-3.7.0-py3-none-any.whl#sha256=f08eecb4d40523045c9478ce59a67564fd71edd215f32c076fa91dc1f05cc7fd