MrGanesh commited on
Commit
3a8f344
1 Parent(s): 31d3848

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ with st.spinner("Generating Patent Summary.."):
18
  if button and sentence:
19
  #chunks = generate_chunks(sentence)
20
  res = summarize(sentence,
21
- max_length=512,
22
- min_length=200,
23
  truncation=True,
24
  #do_sample=do_sample
25
  )
 
18
  if button and sentence:
19
  #chunks = generate_chunks(sentence)
20
  res = summarize(sentence,
21
+ max_length=200,
22
+ min_length=100,
23
  truncation=True,
24
  #do_sample=do_sample
25
  )