Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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',
|
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')
|