Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def visualize_texture():
|
|
| 22 |
# Apply the texture to the original mesh
|
| 23 |
textured_mesh = trimesh.Trimesh(vertices=mesh.vertices, faces=mesh.faces, visual=color_visuals, validate=True, process= False)
|
| 24 |
|
| 25 |
-
textured_mesh.export(trainm.glb)
|
| 26 |
|
| 27 |
|
| 28 |
with gr.Blocks() as app:
|
|
|
|
| 22 |
# Apply the texture to the original mesh
|
| 23 |
textured_mesh = trimesh.Trimesh(vertices=mesh.vertices, faces=mesh.faces, visual=color_visuals, validate=True, process= False)
|
| 24 |
|
| 25 |
+
textured_mesh.export('trainm.glb')
|
| 26 |
|
| 27 |
|
| 28 |
with gr.Blocks() as app:
|