cyun9286 commited on
Commit
5cd06fe
1 Parent(s): c8236ff
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ def generate_monocular_depth_maps(img_list, depth_prior_name):
133
  #np.savez_compressed(path_depthanything, depth=depth)
134
  return depth_list, focallength_px_list
135
 
136
- @spaces.GPU(duration=180)
137
  def local_get_reconstructed_scene(filelist, min_conf_thr, as_pointcloud, mask_sky, clean_depth, transparent_cams, cam_size, depth_prior_name, **kw):
138
  depth_list, focallength_px_list = generate_monocular_depth_maps(filelist, depth_prior_name)
139
  imgs = load_images(filelist, depth_list, focallength_px_list, size=image_size, verbose=not silent,traj_format='custom', depth_prior_name=depth_prior_name)
 
133
  #np.savez_compressed(path_depthanything, depth=depth)
134
  return depth_list, focallength_px_list
135
 
136
+ @spaces.GPU(duration=60)
137
  def local_get_reconstructed_scene(filelist, min_conf_thr, as_pointcloud, mask_sky, clean_depth, transparent_cams, cam_size, depth_prior_name, **kw):
138
  depth_list, focallength_px_list = generate_monocular_depth_maps(filelist, depth_prior_name)
139
  imgs = load_images(filelist, depth_list, focallength_px_list, size=image_size, verbose=not silent,traj_format='custom', depth_prior_name=depth_prior_name)