Spaces:
Runtime error
Runtime error
kxhit
commited on
Commit
·
1c9ecbd
1
Parent(s):
4de6d6a
return none
Browse files
app.py
CHANGED
|
@@ -489,7 +489,8 @@ def get_reconstructed_scene(filelist, schedule, niter, min_conf_thr,
|
|
| 489 |
outfile = get_3D_model_from_scene(outdir, silent, scene, min_conf_thr, as_pointcloud, mask_sky,
|
| 490 |
clean_depth, transparent_cams, cam_size, same_focals=same_focals)
|
| 491 |
|
| 492 |
-
return scene, outfile, imgs, eschernet_input
|
|
|
|
| 493 |
|
| 494 |
|
| 495 |
def set_scenegraph_options(inputfiles, winsize, refid, scenegraph_type):
|
|
@@ -741,7 +742,8 @@ with gr.Blocks() as demo:
|
|
| 741 |
inputs=[input_image, schedule, niter, min_conf_thr, as_pointcloud,
|
| 742 |
mask_sky, clean_depth, transparent_cams, cam_size,
|
| 743 |
scenegraph_type, winsize, refid, same_focals],
|
| 744 |
-
outputs=[scene, outmodel, processed_image, eschernet_input])
|
|
|
|
| 745 |
|
| 746 |
|
| 747 |
# events
|
|
|
|
| 489 |
outfile = get_3D_model_from_scene(outdir, silent, scene, min_conf_thr, as_pointcloud, mask_sky,
|
| 490 |
clean_depth, transparent_cams, cam_size, same_focals=same_focals)
|
| 491 |
|
| 492 |
+
# return scene, outfile, imgs, eschernet_input
|
| 493 |
+
return
|
| 494 |
|
| 495 |
|
| 496 |
def set_scenegraph_options(inputfiles, winsize, refid, scenegraph_type):
|
|
|
|
| 742 |
inputs=[input_image, schedule, niter, min_conf_thr, as_pointcloud,
|
| 743 |
mask_sky, clean_depth, transparent_cams, cam_size,
|
| 744 |
scenegraph_type, winsize, refid, same_focals],
|
| 745 |
+
# outputs=[scene, outmodel, processed_image, eschernet_input])
|
| 746 |
+
outputs = [])
|
| 747 |
|
| 748 |
|
| 749 |
# events
|