Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import tempfile
|
|
7 |
def visualize_dynamic_texture(predefined_section, x_min, x_max, y_min, y_max, z_min, z_max):
|
8 |
# Load the original mesh
|
9 |
mesh = trimesh.load('train.glb', force='mesh')
|
10 |
-
rust_texture = Image.open('
|
11 |
|
12 |
# Predefined sections
|
13 |
if predefined_section == 'right compartments':
|
|
|
7 |
def visualize_dynamic_texture(predefined_section, x_min, x_max, y_min, y_max, z_min, z_max):
|
8 |
# Load the original mesh
|
9 |
mesh = trimesh.load('train.glb', force='mesh')
|
10 |
+
rust_texture = Image.open('rust_steel.png').convert('RGB')
|
11 |
|
12 |
# Predefined sections
|
13 |
if predefined_section == 'right compartments':
|