Rahatara commited on
Commit
1bca1e5
·
verified ·
1 Parent(s): c32368c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
+ return textured_mesh.export('trainm.glb')
26
 
27
 
28
  with gr.Blocks() as app: