app.py
CHANGED
@@ -107,7 +107,7 @@ def generate_monocular_depth_maps(img_list, depth_prior_name):
|
|
107 |
depth_list.append(depth)
|
108 |
focallength_px_list.append(focallength_px)
|
109 |
#np.savez_compressed(path_depthanything, depth=depth)
|
110 |
-
|
111 |
|
112 |
@spaces.GPU(duration=180)
|
113 |
def local_get_reconstructed_scene(filelist, min_conf_thr, as_pointcloud, mask_sky, clean_depth, transparent_cams, cam_size, depth_prior_name, **kw):
|
|
|
107 |
depth_list.append(depth)
|
108 |
focallength_px_list.append(focallength_px)
|
109 |
#np.savez_compressed(path_depthanything, depth=depth)
|
110 |
+
return depth_list, focallength_px_list
|
111 |
|
112 |
@spaces.GPU(duration=180)
|
113 |
def local_get_reconstructed_scene(filelist, min_conf_thr, as_pointcloud, mask_sky, clean_depth, transparent_cams, cam_size, depth_prior_name, **kw):
|