Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,6 +43,9 @@ def duckduckgo_web_search(query: str) -> list:
|
|
| 43 |
Returns:
|
| 44 |
A list of search results containing URLs and descriptions.
|
| 45 |
"""
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
@tool
|
| 48 |
def mirror_user(happy: str) -> str:
|
|
|
|
| 43 |
Returns:
|
| 44 |
A list of search results containing URLs and descriptions.
|
| 45 |
"""
|
| 46 |
+
search_tool = DuckDuckGoSearchTool()
|
| 47 |
+
results = search_tool.run(query)
|
| 48 |
+
return results
|
| 49 |
|
| 50 |
@tool
|
| 51 |
def mirror_user(happy: str) -> str:
|