milinbhade1214 commited on
Commit
3974c7b
·
verified ·
1 Parent(s): f64a92e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def search_recent_news(query: str) -> str:
30
  if not results:
31
  return "No recent news found for this query."
32
 
33
- return "\n".join(results[:5]) # Return top 5 results
34
 
35
 
36
  @tool
 
30
  if not results:
31
  return "No recent news found for this query."
32
 
33
+ return results # Return top 5 results
34
 
35
 
36
  @tool