Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ custom_role_conversions=None,
|
|
| 36 |
|
| 37 |
# Import tool from Hub
|
| 38 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 39 |
-
threed_generation_tool = load_tool("tencent/Hunyuan3D-1", trust_remote_code=True)
|
| 40 |
|
| 41 |
|
| 42 |
with open("prompts.yaml", 'r') as stream:
|
|
@@ -44,7 +44,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
| 44 |
|
| 45 |
agent = CodeAgent(
|
| 46 |
model=model,
|
| 47 |
-
tools=[get_current_time_in_timezone,
|
| 48 |
max_steps=6,
|
| 49 |
verbosity_level=1,
|
| 50 |
grammar=None,
|
|
|
|
| 36 |
|
| 37 |
# Import tool from Hub
|
| 38 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 39 |
+
#threed_generation_tool = load_tool("tencent/Hunyuan3D-1", trust_remote_code=True)
|
| 40 |
|
| 41 |
|
| 42 |
with open("prompts.yaml", 'r') as stream:
|
|
|
|
| 44 |
|
| 45 |
agent = CodeAgent(
|
| 46 |
model=model,
|
| 47 |
+
tools=[get_current_time_in_timezone, final_answer], ## add your tools here (don't remove final answer)
|
| 48 |
max_steps=6,
|
| 49 |
verbosity_level=1,
|
| 50 |
grammar=None,
|