Shirish15 commited on
Commit
28f633d
·
verified ·
1 Parent(s): 35a3d3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def summarize_text(text):
24
 
25
  summary = summarizer(
26
  text,
27
- max_length=150,
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