Spaces:
Sleeping
Sleeping
Initial commit for brand new AnySplat ZeroGPU Space
Browse files
app.py
CHANGED
|
@@ -467,11 +467,12 @@ if __name__ == "__main__":
|
|
| 467 |
api_name="generate_splats_from_images"
|
| 468 |
)
|
| 469 |
|
| 470 |
-
|
| 471 |
-
|
| 472 |
-
|
|
|
|
| 473 |
fn=generate_splats_from_video,
|
| 474 |
-
inputs=[
|
| 475 |
outputs=[reconstruction_output, rgb_video, depth_video, image_gallery],
|
| 476 |
api_name="generate_splats_from_video"
|
| 477 |
)
|
|
|
|
| 467 |
api_name="generate_splats_from_images"
|
| 468 |
)
|
| 469 |
|
| 470 |
+
submit_video_btn = gr.Button(
|
| 471 |
+
"🖌️ Generate Gaussian Splat from Video", scale=1, variant="primary"
|
| 472 |
+
)
|
| 473 |
+
submit_video_btn.click(
|
| 474 |
fn=generate_splats_from_video,
|
| 475 |
+
inputs=[input_video, session_state],
|
| 476 |
outputs=[reconstruction_output, rgb_video, depth_video, image_gallery],
|
| 477 |
api_name="generate_splats_from_video"
|
| 478 |
)
|