Zain4s commited on
Commit
069e418
·
verified ·
1 Parent(s): 1b4092c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def clear_text():
9
 
10
  # Function to summarize text
11
  def summarize_text(text):
12
- summary = summarizer(text, max_length=50, min_length=10, do_sample=False)[0]['summary_text']
13
  return summary
14
 
15
  st.title("Text Summarizer")
 
9
 
10
  # Function to summarize text
11
  def summarize_text(text):
12
+ summary = summarizer(text, max_length=100, min_length=10, do_sample=False)[0]['summary_text']
13
  return summary
14
 
15
  st.title("Text Summarizer")