Rahatara commited on
Commit
f2b3c31
·
verified ·
1 Parent(s): 07730ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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('/mnt/data/A_texture_image_that_combines_rust_and_yellow_patt.png').convert('RGB')
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':