Spaces:
Sleeping
Sleeping
Update app.py
Browse filesAdding tool decorator
app.py
CHANGED
|
@@ -156,6 +156,8 @@ def tool_visit_webpage(url:str) -> str:
|
|
| 156 |
vst = VisitWebpageTool()
|
| 157 |
ret = vst(url)
|
| 158 |
return ret
|
|
|
|
|
|
|
| 159 |
def duckduckgo_search_tool(query:str) -> str:
|
| 160 |
'''
|
| 161 |
A tool used to initialize the ddg search tool, and to return the top 10 finings
|
|
|
|
| 156 |
vst = VisitWebpageTool()
|
| 157 |
ret = vst(url)
|
| 158 |
return ret
|
| 159 |
+
|
| 160 |
+
@tool
|
| 161 |
def duckduckgo_search_tool(query:str) -> str:
|
| 162 |
'''
|
| 163 |
A tool used to initialize the ddg search tool, and to return the top 10 finings
|