Spaces:
Sleeping
Sleeping
Commit
·
342a5a7
1
Parent(s):
08a92ff
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,9 +75,7 @@ def scrapper(url):
|
|
| 75 |
# Initialize the summarization pipeline
|
| 76 |
summary = summarize_long_text(full_text)
|
| 77 |
|
| 78 |
-
|
| 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:
|