Spaces:
Sleeping
Sleeping
Add load_tools() method
Browse files- tools/tools.py +2 -1
tools/tools.py
CHANGED
@@ -13,4 +13,5 @@ web_search = DuckDuckGoSearchTool()
|
|
13 |
#image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
14 |
|
15 |
# Define all tools
|
16 |
-
|
|
|
|
13 |
#image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
14 |
|
15 |
# Define all tools
|
16 |
+
def load_tools():
|
17 |
+
return [final_answer, polite_guard, web_search, get_the_current_time_in_timezone]
|