Gaoussin commited on
Commit
b1771ab
·
verified ·
1 Parent(s): ab77b7f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -62,7 +62,7 @@ class TranslationRequest(BaseModel):
62
  def translateTo(text, src, tgt):
63
  tokenizer.src_lang = src
64
  tokenizer.tgt_lang = tgt
65
- print(tokenizer.src_lang, tokenizer.tgt_lang)
66
 
67
  # Prepare input for the model
68
  # We explicitly move the inputs to the same device as the model
 
62
  def translateTo(text, src, tgt):
63
  tokenizer.src_lang = src
64
  tokenizer.tgt_lang = tgt
65
+ print({text, tokenizer.src_lang, tokenizer.tgt_lang})
66
 
67
  # Prepare input for the model
68
  # We explicitly move the inputs to the same device as the model