Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def summarize_text(text):
|
|
24 |
|
25 |
summary = summarizer(
|
26 |
text,
|
27 |
-
max_length=
|
28 |
min_length=30,
|
29 |
truncation=True,
|
30 |
# Directly pass forced_bos_token_id here
|
|
|
24 |
|
25 |
summary = summarizer(
|
26 |
text,
|
27 |
+
max_length=1000,
|
28 |
min_length=30,
|
29 |
truncation=True,
|
30 |
# Directly pass forced_bos_token_id here
|