Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def process_video(video):
|
|
| 10 |
keyframes = extract_keyframes(video, tempdir)
|
| 11 |
|
| 12 |
# 2. Reconstruct using Gaussian Splatting (on CPU)
|
| 13 |
-
model_path =
|
| 14 |
|
| 15 |
# 3. Export model to WebGL-compatible HTML
|
| 16 |
html_path = export_webgl(model_path, output_dir=tempdir)
|
|
|
|
| 10 |
keyframes = extract_keyframes(video, tempdir)
|
| 11 |
|
| 12 |
# 2. Reconstruct using Gaussian Splatting (on CPU)
|
| 13 |
+
model_path = reconstruct_3d_from_yolo(keyframes, output_dir=tempdir, device="cpu")
|
| 14 |
|
| 15 |
# 3. Export model to WebGL-compatible HTML
|
| 16 |
html_path = export_webgl(model_path, output_dir=tempdir)
|