Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,6 +45,11 @@ custom_role_conversions=None,
|
|
| 45 |
|
| 46 |
# Import tool from Hub
|
| 47 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
#model_3d_generation_tool = load_tool("JeffreyXiang/TRELLIS", trust_remote_code=True)
|
| 50 |
|
|
|
|
| 45 |
|
| 46 |
# Import tool from Hub
|
| 47 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 48 |
+
model_3d_generation_tool = Tool.from_space(
|
| 49 |
+
"JeffreyXiang/TRELLIS",
|
| 50 |
+
name="3d_model_generator",
|
| 51 |
+
description="Generate a 3d model from an image"
|
| 52 |
+
)
|
| 53 |
|
| 54 |
#model_3d_generation_tool = load_tool("JeffreyXiang/TRELLIS", trust_remote_code=True)
|
| 55 |
|