Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -65,7 +65,7 @@ def summarize_text(input_text, model_label, char_limit):
|
|
65 |
|
66 |
summary_ids = model.generate(
|
67 |
inputs["input_ids"],
|
68 |
-
max_length=
|
69 |
min_length=5,
|
70 |
do_sample=False
|
71 |
)
|
|
|
65 |
|
66 |
summary_ids = model.generate(
|
67 |
inputs["input_ids"],
|
68 |
+
max_length=15, # Still approximate; can be tuned per model
|
69 |
min_length=5,
|
70 |
do_sample=False
|
71 |
)
|