Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def get_clean_text(url):
|
|
58 |
def summarize(link):
|
59 |
summary = ""
|
60 |
# link = "https://www.aljazeeramubasher.net/palestine/"
|
61 |
-
text = get_clean_text
|
62 |
summary = pipe(f"summarize the following news into bullet points {text}")
|
63 |
return summary
|
64 |
|
|
|
58 |
def summarize(link):
|
59 |
summary = ""
|
60 |
# link = "https://www.aljazeeramubasher.net/palestine/"
|
61 |
+
text = get_clean_text(link)
|
62 |
summary = pipe(f"summarize the following news into bullet points {text}")
|
63 |
return summary
|
64 |
|