Spaces:
Runtime error
Runtime error
bug fix
Browse files- scripts/utils.py +1 -1
scripts/utils.py
CHANGED
@@ -249,7 +249,7 @@ def save_glb_and_video(save_mesh_prefix: str, meshes: Meshes, with_timestamp=Tru
|
|
249 |
ret_mesh = save_mesh_prefix + ".glb"
|
250 |
# optimizied version
|
251 |
save_py3dmesh_with_trimesh_fast(meshes, ret_mesh)
|
252 |
-
return ret_mesh,
|
253 |
|
254 |
|
255 |
def simple_clean_mesh(pyml_mesh: ml.Mesh, apply_smooth=True, stepsmoothnum=1, apply_sub_divide=False, sub_divide_threshold=0.25):
|
|
|
249 |
ret_mesh = save_mesh_prefix + ".glb"
|
250 |
# optimizied version
|
251 |
save_py3dmesh_with_trimesh_fast(meshes, ret_mesh)
|
252 |
+
return ret_mesh, None
|
253 |
|
254 |
|
255 |
def simple_clean_mesh(pyml_mesh: ml.Mesh, apply_smooth=True, stepsmoothnum=1, apply_sub_divide=False, sub_divide_threshold=0.25):
|