Rahatara commited on
Commit
d5b324c
·
verified ·
1 Parent(s): c2bccfe

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 visualize_texture():
8
  # Load the GLB file
9
- mesh = trimesh.load('train.glb', file_type='glb', process=False)
10
 
11
  # Load the texture image
12
  im = Image.open('defect.jpg')
 
6
 
7
  def visualize_texture():
8
  # Load the GLB file
9
+ mesh = trimesh.load('train.glb', force= 'mesh')
10
 
11
  # Load the texture image
12
  im = Image.open('defect.jpg')