Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|