restore spaces
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
# --------------------------------------------------------
|
| 5 |
# masst3r demo
|
| 6 |
# --------------------------------------------------------
|
| 7 |
-
|
| 8 |
import os
|
| 9 |
import sys
|
| 10 |
import os.path as path
|
|
@@ -50,7 +50,7 @@ class FileState:
|
|
| 50 |
self.outfile_name = None
|
| 51 |
|
| 52 |
|
| 53 |
-
|
| 54 |
def local_get_reconstructed_scene(filelist, min_conf_thr, matching_conf_thr,
|
| 55 |
as_pointcloud, cam_size,
|
| 56 |
shared_intrinsics, **kw):
|
|
|
|
| 4 |
# --------------------------------------------------------
|
| 5 |
# masst3r demo
|
| 6 |
# --------------------------------------------------------
|
| 7 |
+
import spaces
|
| 8 |
import os
|
| 9 |
import sys
|
| 10 |
import os.path as path
|
|
|
|
| 50 |
self.outfile_name = None
|
| 51 |
|
| 52 |
|
| 53 |
+
@spaces.GPU()
|
| 54 |
def local_get_reconstructed_scene(filelist, min_conf_thr, matching_conf_thr,
|
| 55 |
as_pointcloud, cam_size,
|
| 56 |
shared_intrinsics, **kw):
|