Spaces:
Running
on
Zero
Running
on
Zero
minor
Browse files
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):
|