Jie Hu
commited on
Commit
·
9fdf8bc
1
Parent(s):
665754b
init project
Browse files
app.py
CHANGED
@@ -82,8 +82,7 @@ def _convert_scene_output_to_glb(outdir, imgs, pts3d, mask, focals, cams2world,
|
|
82 |
outfile = os.path.join(outdir, 'scene.glb')
|
83 |
if not silent:
|
84 |
print('(exporting 3D scene to', outfile, ')')
|
85 |
-
|
86 |
-
|
87 |
return outfile
|
88 |
|
89 |
# @spaces.GPU(duration=180)
|
|
|
82 |
outfile = os.path.join(outdir, 'scene.glb')
|
83 |
if not silent:
|
84 |
print('(exporting 3D scene to', outfile, ')')
|
85 |
+
scene.export(file_obj=outfile)
|
|
|
86 |
return outfile
|
87 |
|
88 |
# @spaces.GPU(duration=180)
|