ssaroya commited on
Commit
e660f8f
·
1 Parent(s): c77d578

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -33,7 +33,7 @@ class EndpointHandler:
33
  input_ids,
34
  do_sample=True,
35
  min_length=50,
36
- max_length=len(input_ids)+250,
37
  top_p=0.95,
38
  temperature=0.8,
39
  )
 
33
  input_ids,
34
  do_sample=True,
35
  min_length=50,
36
+ max_length=len(input_ids[0])+250,
37
  top_p=0.95,
38
  temperature=0.8,
39
  )