Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import os
|
|
7 |
|
8 |
def visualize_texture(section):
|
9 |
mesh = trimesh.load('train.glb', force='mesh')
|
10 |
-
im = Image.open('
|
11 |
|
12 |
# Calculate bounds
|
13 |
bounds = mesh.bounds
|
|
|
7 |
|
8 |
def visualize_texture(section):
|
9 |
mesh = trimesh.load('train.glb', force='mesh')
|
10 |
+
im = Image.open('rust_steel.png').convert('RGB')
|
11 |
|
12 |
# Calculate bounds
|
13 |
bounds = mesh.bounds
|