alexnasa commited on
Commit
30f494c
·
verified ·
1 Parent(s): fb7f570

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -78,6 +78,8 @@ def get_reconstructed_scene(outdir, model, device):
78
 
79
 
80
  mesh = trimesh.load(plyfile)
 
 
81
  mesh.export(glbfile)
82
 
83
  # Clean up
 
78
 
79
 
80
  mesh = trimesh.load(plyfile)
81
+ mesh.visual.vertex_colors = mesh.metadata['covariance_colors']
82
+
83
  mesh.export(glbfile)
84
 
85
  # Clean up