Spaces:
Sleeping
Sleeping
WIP: Add latest trend functionality
Browse files
app.py
CHANGED
|
@@ -15,7 +15,8 @@ def get_latest_trends(search_query:str)-> str: #it's import to specify the retur
|
|
| 15 |
Args:
|
| 16 |
search_query: The search query to be used to fetch the latest trends.
|
| 17 |
"""
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
@tool
|
| 21 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 15 |
Args:
|
| 16 |
search_query: The search query to be used to fetch the latest trends.
|
| 17 |
"""
|
| 18 |
+
search_tool = DuckDuckGoSearchTool()
|
| 19 |
+
return search_tool(search_query)
|
| 20 |
|
| 21 |
@tool
|
| 22 |
def get_current_time_in_timezone(timezone: str) -> str:
|