Update app.py
Browse files
app.py
CHANGED
|
@@ -161,6 +161,7 @@ def update_gallery_on_upload(input_video, input_images):
|
|
| 161 |
return None, target_dir, image_paths
|
| 162 |
|
| 163 |
|
|
|
|
| 164 |
# 4) Reconstruction: uses the target_dir plus any viz parameters
|
| 165 |
def gradio_demo(
|
| 166 |
target_dir,
|
|
@@ -461,6 +462,6 @@ if __name__ == "__main__":
|
|
| 461 |
)
|
| 462 |
|
| 463 |
# demo.launch(share=share, server_name=server_name, server_port=server_port)
|
| 464 |
-
demo.queue(
|
| 465 |
|
| 466 |
# We thank VGGT for their excellent gradio implementation
|
|
|
|
| 161 |
return None, target_dir, image_paths
|
| 162 |
|
| 163 |
|
| 164 |
+
@spaces.GPU()
|
| 165 |
# 4) Reconstruction: uses the target_dir plus any viz parameters
|
| 166 |
def gradio_demo(
|
| 167 |
target_dir,
|
|
|
|
| 462 |
)
|
| 463 |
|
| 464 |
# demo.launch(share=share, server_name=server_name, server_port=server_port)
|
| 465 |
+
demo.queue().launch(show_error=True, share=True)
|
| 466 |
|
| 467 |
# We thank VGGT for their excellent gradio implementation
|