Spaces:
Runtime error
Runtime error
let's hope this works
Browse files
app.py
CHANGED
@@ -146,7 +146,8 @@ def ply_to_glb(ply_file, glb_file):
|
|
146 |
|
147 |
def save_ply(pc, file_name):
|
148 |
# Produce a mesh (with vertex colors)
|
149 |
-
|
|
|
150 |
|
151 |
|
152 |
def create_gif(pc):
|
|
|
146 |
|
147 |
def save_ply(pc, file_name):
|
148 |
# Produce a mesh (with vertex colors)
|
149 |
+
with open('mesh.ply', 'wb') as f:
|
150 |
+
pc.write_ply(f)
|
151 |
|
152 |
|
153 |
def create_gif(pc):
|