Rahatara commited on
Commit
c15f99c
·
verified ·
1 Parent(s): 2b8bbb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import io
5
 
6
  def modify_texture(glb_file, new_texture):
7
  # Load the GLB file
8
- gltf = GLTF2().load(glb_file.name)
9
 
10
  # Convert the new texture image to use in GLB
11
  img_byte_arr = io.BytesIO()
 
5
 
6
  def modify_texture(glb_file, new_texture):
7
  # Load the GLB file
8
+ gltf = GLTF2().load()
9
 
10
  # Convert the new texture image to use in GLB
11
  img_byte_arr = io.BytesIO()