Rahatara commited on
Commit
32cc383
·
verified ·
1 Parent(s): 80a7dd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import io
6
 
7
  def modify_texture():
8
  # Load the GLB file
9
- mesh = trimesh.load_mesh("train.glb")
10
  geometries = list(scene.geometry.values())
11
  geometry = geometries[0]
12
  adjacency_matrix = geometry.edges_sparse
 
6
 
7
  def modify_texture():
8
  # Load the GLB file
9
+ scene = trimesh.load_mesh("train.glb")
10
  geometries = list(scene.geometry.values())
11
  geometry = geometries[0]
12
  adjacency_matrix = geometry.edges_sparse