Spaces:
Sleeping
Sleeping
fix errors
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def my_custom_tool(query:str)-> str: #it's import to specify the return type
|
|
| 16 |
query: A string suitable of putting in a web search bar
|
| 17 |
"""
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
# Execute the search
|
| 22 |
results = search_engine(query)
|
|
|
|
| 16 |
query: A string suitable of putting in a web search bar
|
| 17 |
"""
|
| 18 |
|
| 19 |
+
search_engine = DuckDuckGoSearchTool(max_results=3)
|
| 20 |
|
| 21 |
# Execute the search
|
| 22 |
results = search_engine(query)
|