jhj0517 commited on
Commit
2cbdd50
·
1 Parent(s): d1650ef

Use quotes

Browse files
modules/translation/nllb_inference.py CHANGED
@@ -29,7 +29,7 @@ class NLLBInference(TranslationBase):
29
  text,
30
  max_length=max_length
31
  )
32
- return result[0]['translation_text']
33
 
34
  def update_model(self,
35
  model_size: str,
 
29
  text,
30
  max_length=max_length
31
  )
32
+ return result[0]["translation_text"]
33
 
34
  def update_model(self,
35
  model_size: str,