🐛[bugfix] Model : modelでconfigにセットしていたため修正

This commit is contained in:
misyaguziya committed 2023-10-20 23:58:46 +09:00
1 parent e52321132d
commit f3b218e86e
2 files changed
+48 -35

No files matched your search

+4 -1
View File
@@ -52,6 +52,9 @@ class Translator():
from_language=source_language,
to_language=target_language,
)
except:
except Exception as e:
import traceback
with open('error.log', 'a') as f:
traceback.print_exc(file=f)
result = False
return result