faneggg commited on
Commit
d14fd29
·
verified ·
1 Parent(s): 0cae69e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -54,7 +54,7 @@ def get_dust3r_args_parser():
54
  return parser
55
 
56
 
57
- @spaces.GPU(duration=240)
58
  def run_dust3r(inputfiles, input_path=None):
59
 
60
  if input_path is not None:
@@ -149,7 +149,7 @@ def run_dust3r(inputfiles, input_path=None):
149
 
150
  return outfile, feat_image_path, opt, None, None
151
 
152
- @spaces.GPU(duration=240)
153
  def run_feat2gs(opt, niter=2000):
154
 
155
  if opt is None:
@@ -209,7 +209,7 @@ def run_feat2gs(opt, niter=2000):
209
  except Exception as e:
210
  raise gr.Error(f"Step 2 failed: {str(e)}")
211
 
212
- @spaces.GPU(duration=240)
213
  def run_render(opt, args, cam_traj='ellipse'):
214
  if opt is None or args is None:
215
  raise gr.Error("Please run Steps 1 and 2 first!")
 
54
  return parser
55
 
56
 
57
+ @spaces.GPU(duration=150)
58
  def run_dust3r(inputfiles, input_path=None):
59
 
60
  if input_path is not None:
 
149
 
150
  return outfile, feat_image_path, opt, None, None
151
 
152
+ @spaces.GPU(duration=150)
153
  def run_feat2gs(opt, niter=2000):
154
 
155
  if opt is None:
 
209
  except Exception as e:
210
  raise gr.Error(f"Step 2 failed: {str(e)}")
211
 
212
+ @spaces.GPU(duration=150)
213
  def run_render(opt, args, cam_traj='ellipse'):
214
  if opt is None or args is None:
215
  raise gr.Error("Please run Steps 1 and 2 first!")