ReubenSun commited on
Commit
56b8892
·
1 Parent(s): 647989c

fix:mesh preprocess

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,8 +85,8 @@ def generate_func(
85
  geometry_mesh = out.mesh[0]
86
  geometry_mesh.export(geometry_save_path)
87
 
88
- geometry_mesh = remove_degenerate_face()(geometry_mesh)
89
- geometry_mesh = reduce_face()(geometry_mesh)
90
  textured_mesh = texture_model(input_image_path, geometry_mesh)
91
  textured_save_path = f"{args.cache_dir}/{save_name}-textured.glb"
92
  textured_mesh.export(textured_save_path)
 
85
  geometry_mesh = out.mesh[0]
86
  geometry_mesh.export(geometry_save_path)
87
 
88
+ geometry_mesh = remove_degenerate_face(geometry_mesh)
89
+ geometry_mesh = reduce_face(geometry_mesh)
90
  textured_mesh = texture_model(input_image_path, geometry_mesh)
91
  textured_save_path = f"{args.cache_dir}/{save_name}-textured.glb"
92
  textured_mesh.export(textured_save_path)