Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,8 +71,6 @@ tool=[
|
|
| 71 |
load_tool("agents-course/text-to-image", trust_remote_code=True),
|
| 72 |
]
|
| 73 |
|
| 74 |
-
agent_tools = [entry["tool"] for entry in tool_registry.values() if entry["enabled"]
|
| 75 |
-
]
|
| 76 |
# --- Agent setup ---
|
| 77 |
agent = CodeAgent(
|
| 78 |
tools=tools,
|
|
|
|
| 71 |
load_tool("agents-course/text-to-image", trust_remote_code=True),
|
| 72 |
]
|
| 73 |
|
|
|
|
|
|
|
| 74 |
# --- Agent setup ---
|
| 75 |
agent = CodeAgent(
|
| 76 |
tools=tools,
|