maggidev commited on
Commit
26dc802
·
verified ·
1 Parent(s): 319e41d

Update translator.py

Browse files
Files changed (1) hide show
  1. translator.py +2 -2
translator.py CHANGED
@@ -7,8 +7,8 @@ import time
7
 
8
  class MangaTranslator:
9
  def __init__(self):
10
- self.target = "en"
11
- self.source = "ja"
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,