Xenobd commited on
Commit
5184f1d
·
verified ·
1 Parent(s): 8bb2ac6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def summarize_text(text):
35
  num_beams=6,
36
  length_penalty=1.5,
37
  no_repeat_ngram_size=3, # Prevent repetition
38
- clean_up_tokenization_spaces=True
39
  early_stopping=True
40
  )
41
  return result[0]['summary_text']
 
35
  num_beams=6,
36
  length_penalty=1.5,
37
  no_repeat_ngram_size=3, # Prevent repetition
38
+ clean_up_tokenization_spaces=True,
39
  early_stopping=True
40
  )
41
  return result[0]['summary_text']