Spaces:
Sleeping
Sleeping
Update app.py
Browse filesModified call to DuckDuckGoSearchTool
app.py
CHANGED
@@ -26,7 +26,7 @@ def get_web_search_results(query: str)-> str: #it's import to specify the return
|
|
26 |
query: A string representing a valid web query. IMPORTANT: Follow type str format strictly e.g. 'pictures of cats'.
|
27 |
"""
|
28 |
try:
|
29 |
-
results = DuckDuckGoSearchTool
|
30 |
if results and results != "None":
|
31 |
return results
|
32 |
else:
|
|
|
26 |
query: A string representing a valid web query. IMPORTANT: Follow type str format strictly e.g. 'pictures of cats'.
|
27 |
"""
|
28 |
try:
|
29 |
+
results = DuckDuckGoSearchTool(query)
|
30 |
if results and results != "None":
|
31 |
return results
|
32 |
else:
|