haodongli commited on
Commit
327e881
·
1 Parent(s): 3873404
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -64,7 +64,6 @@ def ply2glb(ply_path, glb_path):
64
  colors = np.asarray(pcd.visual.vertex_colors)
65
  cloud = trimesh.points.PointCloud(vertices=points, colors=colors)
66
  cloud.export(glb_path)
67
- os.remove(ply_path)
68
 
69
  @spaces.GPU
70
  def fn(image_path, mask_path):
 
64
  colors = np.asarray(pcd.visual.vertex_colors)
65
  cloud = trimesh.points.PointCloud(vertices=points, colors=colors)
66
  cloud.export(glb_path)
 
67
 
68
  @spaces.GPU
69
  def fn(image_path, mask_path):