Spaces:
Sleeping
Sleeping
Update newsletter_api.py
Browse files- newsletter_api.py +1 -3
newsletter_api.py
CHANGED
@@ -75,9 +75,7 @@ def extract_news_from_rss(feed_urls: list[str], topic: str, threshold: float = 0
|
|
75 |
"topic": topic,
|
76 |
"title": title,
|
77 |
"link": link,
|
78 |
-
"summary": summary
|
79 |
-
"content": content,
|
80 |
-
"similarity": score
|
81 |
})
|
82 |
|
83 |
# Sort articles by similarity score
|
|
|
75 |
"topic": topic,
|
76 |
"title": title,
|
77 |
"link": link,
|
78 |
+
"summary": summary
|
|
|
|
|
79 |
})
|
80 |
|
81 |
# Sort articles by similarity score
|