Sandaruth commited on
Commit
c0ec734
·
verified ·
1 Parent(s): 88db46d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ if st.button("Generate Summary"):
39
 
40
  if input_text:
41
  # Generate the summary
42
- summary = summarizer(input_text, do_sample=False)
43
 
44
  # Display the summary
45
  st.subheader("Generated Summary")
 
39
 
40
  if input_text:
41
  # Generate the summary
42
+ summary = summarizer(input_text, max_length=350, min_length=30, do_sample=False)
43
 
44
  # Display the summary
45
  st.subheader("Generated Summary")