anyantudre commited on
Commit
fdd09e7
·
verified ·
1 Parent(s): 0f464cc

Update goai_traduction.py

Browse files
Files changed (1) hide show
  1. goai_traduction.py +1 -1
goai_traduction.py CHANGED
@@ -13,7 +13,7 @@ def goai_traduction(text, src_lang, tgt_lang):
13
  trans_pipe = pipeline("translation",
14
  model=model, tokenizer=tokenizer,
15
  src_lang=src_lang, tgt_lang=tgt_lang,
16
- max_length=max_length
17
  device=device
18
  )
19
 
 
13
  trans_pipe = pipeline("translation",
14
  model=model, tokenizer=tokenizer,
15
  src_lang=src_lang, tgt_lang=tgt_lang,
16
+ max_length=max_length,
17
  device=device
18
  )
19