Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from tools.web_search import DuckDuckGoSearchTool
|
|
| 12 |
def DuckDuckGoSearchTool (web_search: str) -> str:
|
| 13 |
""""A tool Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results."""
|
| 14 |
inputs = {'query': {'type': 'string','description': 'The search query to perform.'}}
|
| 15 |
-
|
| 16 |
|
| 17 |
def __init__(self, max_results=10, **kwargs):
|
| 18 |
super().__init__()
|
|
|
|
| 12 |
def DuckDuckGoSearchTool (web_search: str) -> str:
|
| 13 |
""""A tool Performs a duckduckgo web search based on your query (think a Google search) then returns the top search results."""
|
| 14 |
inputs = {'query': {'type': 'string','description': 'The search query to perform.'}}
|
| 15 |
+
output_type = "string"
|
| 16 |
|
| 17 |
def __init__(self, max_results=10, **kwargs):
|
| 18 |
super().__init__()
|