Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def generate_description(title):
|
|
| 37 |
# Generate the output using the model
|
| 38 |
output = model.generate(
|
| 39 |
input_ids=input_ids,
|
| 40 |
-
max_length=
|
| 41 |
num_beams=4,
|
| 42 |
early_stopping=True,
|
| 43 |
no_repeat_ngram_size=2
|
|
|
|
| 37 |
# Generate the output using the model
|
| 38 |
output = model.generate(
|
| 39 |
input_ids=input_ids,
|
| 40 |
+
max_length=200,
|
| 41 |
num_beams=4,
|
| 42 |
early_stopping=True,
|
| 43 |
no_repeat_ngram_size=2
|