Spaces:
Sleeping
Sleeping
Update translator.py
Browse files- translator.py +2 -2
translator.py
CHANGED
|
@@ -7,8 +7,8 @@ import time
|
|
| 7 |
|
| 8 |
class MangaTranslator:
|
| 9 |
def __init__(self):
|
| 10 |
-
self.target = "
|
| 11 |
-
self.source = "
|
| 12 |
self.translators = {
|
| 13 |
"google": self._translate_with_google,
|
| 14 |
"hf": self._translate_with_hf,
|
|
|
|
| 7 |
|
| 8 |
class MangaTranslator:
|
| 9 |
def __init__(self):
|
| 10 |
+
self.target = "pt"
|
| 11 |
+
self.source = "auto"
|
| 12 |
self.translators = {
|
| 13 |
"google": self._translate_with_google,
|
| 14 |
"hf": self._translate_with_hf,
|