Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,9 @@ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_co
|
|
57 |
|
58 |
with open("prompts.yaml", 'r') as stream:
|
59 |
prompt_templates = yaml.safe_load(stream)
|
60 |
-
|
|
|
|
|
61 |
# Changing Agent to CodeAgent will authomatically give the agent access to python_interpreter so it will be able to generate code and run it.
|
62 |
agent = Agent(
|
63 |
model=model,
|
|
|
57 |
|
58 |
with open("prompts.yaml", 'r') as stream:
|
59 |
prompt_templates = yaml.safe_load(stream)
|
60 |
+
|
61 |
+
print([tool.name for tool in selected_tools])
|
62 |
+
|
63 |
# Changing Agent to CodeAgent will authomatically give the agent access to python_interpreter so it will be able to generate code and run it.
|
64 |
agent = Agent(
|
65 |
model=model,
|