Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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()
|