Spaces:
Running
on
Zero
Running
on
Zero
fix gpu
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def get_dust3r_args_parser():
|
|
59 |
return parser
|
60 |
|
61 |
|
62 |
-
@spaces.GPU(duration=
|
63 |
def run_dust3r(inputfiles, input_path=None):
|
64 |
|
65 |
if input_path is not None:
|
@@ -156,7 +156,7 @@ def run_dust3r(inputfiles, input_path=None):
|
|
156 |
|
157 |
run_dust3r.zerogpu = True
|
158 |
|
159 |
-
@spaces.GPU(duration=
|
160 |
def run_feat2gs(opt, niter=2000):
|
161 |
|
162 |
if opt is None:
|
@@ -218,7 +218,7 @@ def run_feat2gs(opt, niter=2000):
|
|
218 |
|
219 |
run_feat2gs.zerogpu = True
|
220 |
|
221 |
-
@spaces.GPU(duration=
|
222 |
def run_render(opt, args, cam_traj='ellipse'):
|
223 |
if opt is None or args is None:
|
224 |
raise gr.Error("Please run Steps 1 and 2 first!")
|
|
|
59 |
return parser
|
60 |
|
61 |
|
62 |
+
@spaces.GPU(duration=300)
|
63 |
def run_dust3r(inputfiles, input_path=None):
|
64 |
|
65 |
if input_path is not None:
|
|
|
156 |
|
157 |
run_dust3r.zerogpu = True
|
158 |
|
159 |
+
@spaces.GPU(duration=300)
|
160 |
def run_feat2gs(opt, niter=2000):
|
161 |
|
162 |
if opt is None:
|
|
|
218 |
|
219 |
run_feat2gs.zerogpu = True
|
220 |
|
221 |
+
@spaces.GPU(duration=300)
|
222 |
def run_render(opt, args, cam_traj='ellipse'):
|
223 |
if opt is None or args is None:
|
224 |
raise gr.Error("Please run Steps 1 and 2 first!")
|