Update handler.py
Browse files- 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=
|
| 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)+250,
|
| 37 |
top_p=0.95,
|
| 38 |
temperature=0.8,
|
| 39 |
)
|