Pijush2023 commited on
Commit
91fa1a7
·
verified ·
1 Parent(s): 91fe176

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[:10]):
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", "")