JohnKouf commited on
Commit
e1813bb
·
verified ·
1 Parent(s): c165e9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ def genarate_summary(article):
31
  max_length=1024,
32
  min_length=130,
33
  length_penalty=3.0,
34
- num_beams=8,
35
- early_stopping=True,
36
  repetition_penalty=3.0,
37
  )
38
 
 
31
  max_length=1024,
32
  min_length=130,
33
  length_penalty=3.0,
34
+ num_beams=4,
35
+ early_stopping=False,
36
  repetition_penalty=3.0,
37
  )
38