one more try
Browse files- app.py +1 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -9,7 +9,7 @@ gltf = GLTF.load('./Avocado.glb')
|
|
9 |
def load_mesh(im: str):
|
10 |
print(im)
|
11 |
model = gltf.clone()
|
12 |
-
res = FileResource(im)
|
13 |
with tempfile.NamedTemporaryFile(suffix=".glb", delete=False) as file:
|
14 |
model.export(file.name)
|
15 |
return file.name
|
|
|
9 |
def load_mesh(im: str):
|
10 |
print(im)
|
11 |
model = gltf.clone()
|
12 |
+
res = FileResource(im.name)
|
13 |
with tempfile.NamedTemporaryFile(suffix=".glb", delete=False) as file:
|
14 |
model.export(file.name)
|
15 |
return file.name
|
requirements.txt
CHANGED
@@ -1 +1,2 @@
|
|
1 |
-
gltflib==1.0.12
|
|
|
|
1 |
+
gltflib==1.0.12
|
2 |
+
jinja2==3.1.1
|