flutter-painter commited on
Commit
5ebbd03
1 Parent(s): c2776c8

Update translation.py

Browse files
Files changed (1) hide show
  1. translation.py +1 -1
translation.py CHANGED
@@ -104,7 +104,7 @@ class Translator:
104
  self.tokenizer = NllbTokenizer.from_pretrained(MODEL_URL)
105
  fix_tokenizer(self.tokenizer)
106
 
107
- self.splitter = SentenceSplitter("ru")
108
  self.preprocessor = TextPreprocessor()
109
 
110
  self.languages = LANGUAGES
 
104
  self.tokenizer = NllbTokenizer.from_pretrained(MODEL_URL)
105
  fix_tokenizer(self.tokenizer)
106
 
107
+ self.splitter = SentenceSplitter("fr")
108
  self.preprocessor = TextPreprocessor()
109
 
110
  self.languages = LANGUAGES