Spaces:
Sleeping
Sleeping
update tools
Browse files
app.py
CHANGED
@@ -60,8 +60,6 @@ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may
|
|
60 |
custom_role_conversions=None,
|
61 |
)
|
62 |
|
63 |
-
|
64 |
-
# Import tool from Hub
|
65 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
66 |
|
67 |
with open("prompts.yaml", 'r') as stream:
|
@@ -72,7 +70,7 @@ agent = CodeAgent(
|
|
72 |
tools=[get_nth_fibonacci_number,
|
73 |
count_letters_in_word,
|
74 |
image_generation_tool,
|
75 |
-
DuckDuckGoSearchTool,
|
76 |
get_current_time_in_timezone,
|
77 |
final_answer
|
78 |
], ## add your tools here (don't remove final answer)
|
|
|
60 |
custom_role_conversions=None,
|
61 |
)
|
62 |
|
|
|
|
|
63 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
64 |
|
65 |
with open("prompts.yaml", 'r') as stream:
|
|
|
70 |
tools=[get_nth_fibonacci_number,
|
71 |
count_letters_in_word,
|
72 |
image_generation_tool,
|
73 |
+
DuckDuckGoSearchTool(),
|
74 |
get_current_time_in_timezone,
|
75 |
final_answer
|
76 |
], ## add your tools here (don't remove final answer)
|