alexnasa commited on
Commit
02d78ce
·
verified ·
1 Parent(s): 6c58a6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -250,11 +250,9 @@ def generate_splats_from_images(image_paths, session_id=None):
250
 
251
  base_dir = os.path.join(os.environ["ANYSPLAT_PROCESSED"], session_id)
252
 
253
- all_files = [os.path.basename(p) for p in image_paths]
254
-
255
  print("Running run_model...")
256
  with torch.no_grad():
257
- plyfile, video, depth_colored = get_reconstructed_scene(base_dir, all_files, model, device)
258
 
259
  end_time = time.time()
260
  print(f"Total time: {end_time - start_time:.2f} seconds (including IO)")
 
250
 
251
  base_dir = os.path.join(os.environ["ANYSPLAT_PROCESSED"], session_id)
252
 
 
 
253
  print("Running run_model...")
254
  with torch.no_grad():
255
+ plyfile, video, depth_colored = get_reconstructed_scene(base_dir, image_paths, model, device)
256
 
257
  end_time = time.time()
258
  print(f"Total time: {end_time - start_time:.2f} seconds (including IO)")