Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -226,7 +226,7 @@ def fetch_local_news():
|
|
226 |
</script>
|
227 |
<div id="news-preview" class="news-preview"></div>
|
228 |
"""
|
229 |
-
for index, result in enumerate(results[:
|
230 |
title = result.get("title", "No title")
|
231 |
link = result.get("link", "#")
|
232 |
snippet = result.get("snippet", "")
|
|
|
226 |
</script>
|
227 |
<div id="news-preview" class="news-preview"></div>
|
228 |
"""
|
229 |
+
for index, result in enumerate(results[:7]):
|
230 |
title = result.get("title", "No title")
|
231 |
link = result.get("link", "#")
|
232 |
snippet = result.get("snippet", "")
|