ZeqiangLai commited on
Commit
b1ce958
·
verified ·
1 Parent(s): 435124d

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +3 -3
gradio_app.py CHANGED
@@ -142,7 +142,7 @@ def build_model_viewer_html(save_folder, height=660, width=790, textured=False):
142
  </div>
143
  """
144
 
145
- @spaces.GPU(duration=150)
146
  def _gen_shape(
147
  caption=None,
148
  image=None,
@@ -249,7 +249,7 @@ def _gen_shape(
249
  main_image = image if not MV_MODE else image['front']
250
  return mesh, main_image, save_folder, stats, seed
251
 
252
- @spaces.GPU(duration=150)
253
  def generation_all(
254
  caption=None,
255
  image=None,
@@ -314,7 +314,7 @@ def generation_all(
314
  seed,
315
  )
316
 
317
- @spaces.GPU(duration=150)
318
  def shape_generation(
319
  caption=None,
320
  image=None,
 
142
  </div>
143
  """
144
 
145
+ @spaces.GPU(duration=40)
146
  def _gen_shape(
147
  caption=None,
148
  image=None,
 
249
  main_image = image if not MV_MODE else image['front']
250
  return mesh, main_image, save_folder, stats, seed
251
 
252
+ @spaces.GPU(duration=90)
253
  def generation_all(
254
  caption=None,
255
  image=None,
 
314
  seed,
315
  )
316
 
317
+ @spaces.GPU(duration=40)
318
  def shape_generation(
319
  caption=None,
320
  image=None,