Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def Web_Search(arg1:str)-> str: #it's import to specify the return type
|
|
| 17 |
arg2: the second argument
|
| 18 |
"""
|
| 19 |
try:
|
| 20 |
-
result = DuckDuckGoSearchTool(
|
| 21 |
return result
|
| 22 |
except Exception as e:
|
| 23 |
return f'[Error] {e}'
|
|
|
|
| 17 |
arg2: the second argument
|
| 18 |
"""
|
| 19 |
try:
|
| 20 |
+
result = DuckDuckGoSearchTool(arg1)
|
| 21 |
return result
|
| 22 |
except Exception as e:
|
| 23 |
return f'[Error] {e}'
|