Spaces:
Runtime error
Runtime error
Nadine Rueegg
commited on
Commit
•
3eb7d27
1
Parent(s):
4656d32
save glb instead of obj, otherwise the visualization does not show up
Browse files- scripts/gradio_demo.py +2 -2
scripts/gradio_demo.py
CHANGED
@@ -566,8 +566,8 @@ def run_bite_inference(input_image, bbox=None, apply_ttopt=True):
|
|
566 |
[0, 0, 1, 1],
|
567 |
[0, 0, 0, 1]])
|
568 |
result_path = os.path.join(save_imgs_path, test_name_list[0] + '_z')
|
569 |
-
mesh.export(file_obj=result_path + '.
|
570 |
-
result_gltf = result_path + '.
|
571 |
return result_gltf
|
572 |
|
573 |
|
|
|
566 |
[0, 0, 1, 1],
|
567 |
[0, 0, 0, 1]])
|
568 |
result_path = os.path.join(save_imgs_path, test_name_list[0] + '_z')
|
569 |
+
mesh.export(file_obj=result_path + '.glb')
|
570 |
+
result_gltf = result_path + '.glb'
|
571 |
return result_gltf
|
572 |
|
573 |
|