Spaces:
Sleeping
Sleeping
Update app.py
Browse files18 unmodified lines192021222324252618 unmodified linesReturns:A formatted string with up to 5 news headlines and their links."""try:search_tool = DuckDuckGoSearchTool()query = f"{topic} news"results = search_tool(query)18 unmodified lines192021222324252618 unmodified linesReturns:A formatted string with up to 5 news headlines and their links."""search_tool = DuckDuckGoSearchTool()try:query = f"{topic} news"results = search_tool(query)
app.py+1-1