Rahatara commited on
Commit
cb15d28
·
verified ·
1 Parent(s): 33fb72e

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