Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -14,7 +14,7 @@ class EndpointHandler:
|
|
| 14 |
model=model_dir,
|
| 15 |
device_map='cpu',
|
| 16 |
max_length=200,
|
| 17 |
-
min_length=
|
| 18 |
)
|
| 19 |
|
| 20 |
def __call__(self, inputs):
|
|
|
|
| 14 |
model=model_dir,
|
| 15 |
device_map='cpu',
|
| 16 |
max_length=200,
|
| 17 |
+
min_length=60
|
| 18 |
)
|
| 19 |
|
| 20 |
def __call__(self, inputs):
|