undoing commited on
Commit
c8e4004
·
verified ·
1 Parent(s): 2557e2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
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