Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def visualize_dynamic_texture(predefined_section, x_min, x_max, y_min, y_max, z_
|
|
11 |
rust_texture = Image.open('rust_steel.png').convert('RGB')
|
12 |
|
13 |
# Predefined sections
|
14 |
-
|
15 |
new_uv[selected_indices, :] = uv[selected_indices, :]
|
16 |
|
17 |
# Create material and apply the new texture
|
|
|
11 |
rust_texture = Image.open('rust_steel.png').convert('RGB')
|
12 |
|
13 |
# Predefined sections
|
14 |
+
if predefined_section == 'right compartments':
|
15 |
new_uv[selected_indices, :] = uv[selected_indices, :]
|
16 |
|
17 |
# Create material and apply the new texture
|