Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def search_recent_news(query: str) -> str:
|
|
25 |
query: The search query for the news topic.
|
26 |
"""
|
27 |
search_tool = DuckDuckGoSearchTool()
|
28 |
-
results = search_tool
|
29 |
|
30 |
if not results:
|
31 |
return "No recent news found for this query."
|
|
|
25 |
query: The search query for the news topic.
|
26 |
"""
|
27 |
search_tool = DuckDuckGoSearchTool()
|
28 |
+
results = search_tool(f"{query} latest news")
|
29 |
|
30 |
if not results:
|
31 |
return "No recent news found for this query."
|