Spaces:
Starting
on
L40S
Starting
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -574,10 +574,10 @@ def reconstruct(video_path, conf_thresh, kf_every,
|
|
574 |
if output_3d_model:
|
575 |
gs_output_path = tempfile.mktemp(suffix='.ply')
|
576 |
point2gs(gs_output_path, pcd_combined)
|
577 |
-
return coarse_output_path, [gs_output_path]
|
578 |
else:
|
579 |
pcd_output_path = export_geometry(pcd_combined, file_format='ply')
|
580 |
-
return coarse_output_path, [pcd_output_path]
|
581 |
|
582 |
example_videos = [os.path.join('./examples', f) for f in os.listdir('./examples') if f.endswith(('.mp4', '.webm'))]
|
583 |
|
|
|
574 |
if output_3d_model:
|
575 |
gs_output_path = tempfile.mktemp(suffix='.ply')
|
576 |
point2gs(gs_output_path, pcd_combined)
|
577 |
+
return coarse_output_path, [gs_output_path, temp_json_file]
|
578 |
else:
|
579 |
pcd_output_path = export_geometry(pcd_combined, file_format='ply')
|
580 |
+
return coarse_output_path, [pcd_output_path, temp_json_file]
|
581 |
|
582 |
example_videos = [os.path.join('./examples', f) for f in os.listdir('./examples') if f.endswith(('.mp4', '.webm'))]
|
583 |
|