Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,12 +48,6 @@ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_co
|
|
| 48 |
|
| 49 |
#model_3d_generation_tool = load_tool("JeffreyXiang/TRELLIS", trust_remote_code=True)
|
| 50 |
|
| 51 |
-
model_3d_generation_tool = Tool.from_space(
|
| 52 |
-
"JeffreyXiang/TRELLIS",
|
| 53 |
-
name="3d_model_generator",
|
| 54 |
-
description="Generate a 3d model from an image"
|
| 55 |
-
)
|
| 56 |
-
|
| 57 |
|
| 58 |
with open("prompts.yaml", 'r') as stream:
|
| 59 |
prompt_templates = yaml.safe_load(stream)
|
|
|
|
| 48 |
|
| 49 |
#model_3d_generation_tool = load_tool("JeffreyXiang/TRELLIS", trust_remote_code=True)
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
with open("prompts.yaml", 'r') as stream:
|
| 53 |
prompt_templates = yaml.safe_load(stream)
|