Merge branch 'develop'

This commit is contained in:
misyaguziya committed 2025-05-15 12:43:41 +09:00
commit 1ab2cd2283
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ transformers==4.40.2
pillow == 10.0.0 pillow == 10.0.0
PyAudioWPatch == 0.2.12.6 PyAudioWPatch == 0.2.12.6
python-osc == 1.9.0 python-osc == 1.9.0
deepl == 1.15.0 deepl == 1.22.0
flashtext ==2.7 flashtext ==2.7
pyinstaller==6.10.0 pyinstaller==6.10.0
numpy==1.26.4 numpy==1.26.4
+1 -1
View File
@@ -6,7 +6,7 @@ transformers==4.40.2
pillow == 10.0.0 pillow == 10.0.0
PyAudioWPatch == 0.2.12.6 PyAudioWPatch == 0.2.12.6
python-osc == 1.9.0 python-osc == 1.9.0
deepl == 1.15.0 deepl == 1.22.0
flashtext ==2.7 flashtext ==2.7
pyinstaller==6.10.0 pyinstaller==6.10.0
numpy==1.26.4 numpy==1.26.4
+1 -1
View File
@@ -956,7 +956,7 @@ class Config:
def init_config(self): def init_config(self):
# Read Only # Read Only
self._VERSION = "3.1.1" self._VERSION = "3.1.2"
if getattr(sys, 'frozen', False): if getattr(sys, 'frozen', False):
self._PATH_LOCAL = os_path.dirname(sys.executable) self._PATH_LOCAL = os_path.dirname(sys.executable)
else: else:
@@ -1,5 +1,5 @@
from os import path as os_path from os import path as os_path
from deepl import Translator as deepl_Translator from deepl import DeepLClient
try: try:
from translators import translate_text as other_web_Translator from translators import translate_text as other_web_Translator
ENABLE_TRANSLATORS = True ENABLE_TRANSLATORS = True
@@ -28,7 +28,7 @@ class Translator():
def authenticationDeepLAuthKey(self, authkey): def authenticationDeepLAuthKey(self, authkey):
result = True result = True
try: try:
self.deepl_client = deepl_Translator(authkey) self.deepl_client = DeepLClient(authkey)
self.deepl_client.translate_text(" ", target_lang="EN-US") self.deepl_client.translate_text(" ", target_lang="EN-US")
except Exception: except Exception:
errorLogging() errorLogging()