Wuvin commited on
Commit
7240a62
1 Parent(s): b31f4e6

add duration

Browse files
Files changed (1) hide show
  1. gradio_app/gradio_3dgen.py +1 -1
gradio_app/gradio_3dgen.py CHANGED
@@ -10,7 +10,7 @@ from scripts.refine_lr_to_sr import run_sr_fast
10
  from scripts.utils import save_glb_and_video
11
  from scripts.multiview_inference import geo_reconstruct
12
 
13
- @spaces.GPU
14
  def generate3dv2(preview_img, input_processing, seed, render_video=True, do_refine=True, expansion_weight=0.1, init_type="std"):
15
  if preview_img is None:
16
  raise gr.Error("preview_img is none")
 
10
  from scripts.utils import save_glb_and_video
11
  from scripts.multiview_inference import geo_reconstruct
12
 
13
+ @spaces.GPU(duration=180)
14
  def generate3dv2(preview_img, input_processing, seed, render_video=True, do_refine=True, expansion_weight=0.1, init_type="std"):
15
  if preview_img is None:
16
  raise gr.Error("preview_img is none")