dooraven commited on
Commit
f93920b
1 Parent(s): a46e3a5

let's hope this works

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- pc.save(file_name)
 
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):