Ragai1 commited on
Commit
dd8d03b
·
verified ·
1 Parent(s): 95935f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def get_ai_news(keyword: str, language: str = "en", page_size: int=5) -> str:
38
 
39
  articles = data.get("articles", [])
40
  if not articles:
41
- return f"No recent news found for '{keyword}.'
42
 
43
  news_list = []
44
  for i, article in enumerate(articles):
 
38
 
39
  articles = data.get("articles", [])
40
  if not articles:
41
+ return f"No recent news found for '{keyword}.'"
42
 
43
  news_list = []
44
  for i, article in enumerate(articles):