johnnyfivefingers commited on
Commit
f52aa82
1 Parent(s): c6f8e5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def summarize(text):
20
  return str(lines)
21
 
22
 
23
- generated_summary = summarizer(text, max_length=150, min_length = 10)[0]['summary_text']
24
 
25
  fields = [text, generated_summary]
26
  with open('input.csv','a', newline='') as f:
 
20
  return str(lines)
21
 
22
 
23
+ generated_summary = summarizer(text, max_length=80, min_length=20)[0]['summary_text']
24
 
25
  fields = [text, generated_summary]
26
  with open('input.csv','a', newline='') as f: