Arturo Jiménez de los Galanes Reguillos commited on
Commit
31bbafb
1 Parent(s): dde5ace

Update generation_kwargs dictionary

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def translate(python):
38
  do_sample=False,
39
  top_k=50,
40
  top_p=0.95,
41
- num_sequences=1,
42
  eos_token_id=tokenizer.eos_token_id,
43
  )
44
 
 
38
  do_sample=False,
39
  top_k=50,
40
  top_p=0.95,
41
+ num_return_sequences=1,
42
  eos_token_id=tokenizer.eos_token_id,
43
  )
44