claytonsamples commited on
Commit
342a5a7
·
1 Parent(s): 08a92ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -75,9 +75,7 @@ def scrapper(url):
75
  # Initialize the summarization pipeline
76
  summary = summarize_long_text(full_text)
77
 
78
- # Extract the summary text
79
- summary_text = summary[0]['summary_text']
80
- return summary_text
81
 
82
  def checker(url):
83
  if not url:
 
75
  # Initialize the summarization pipeline
76
  summary = summarize_long_text(full_text)
77
 
78
+ return summary
 
 
79
 
80
  def checker(url):
81
  if not url: