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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def genarate_summary(article):
28
 
29
  outputs = model.generate(
30
  inputs["input_ids"],
31
- max_length=512,
32
  min_length=130,
33
  length_penalty=3.0,
34
  num_beams=8,
 
28
 
29
  outputs = model.generate(
30
  inputs["input_ids"],
31
+ max_length=1024,
32
  min_length=130,
33
  length_penalty=3.0,
34
  num_beams=8,