SteveDigital commited on
Commit
bccbce6
1 Parent(s): 7af09fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,9 +23,9 @@ def get_text(url):
23
 
24
  def get_summary(article):
25
  print(article)
26
- b = summarizer(article, min_length=5, max_length=20)
27
  print(b)
28
- #b = b[0]['summary_text']
29
  return b
30
 
31
  with gr.Blocks() as demo:
 
23
 
24
  def get_summary(article):
25
  print(article)
26
+ b = summarizer(article, min_length=20, max_length=30)
27
  print(b)
28
+ b = b[0]['summary_text']
29
  return b
30
 
31
  with gr.Blocks() as demo: