jayman commited on
Commit
3fdcc43
·
verified ·
1 Parent(s): 5fe2994

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +3 -3
gradio_app.py CHANGED
@@ -268,7 +268,7 @@ def build_model_viewer_html(save_folder, height=660, width=790, textured=False):
268
  """
269
 
270
 
271
- @spaces.GPU(duration=40)
272
  def _gen_shape(
273
  caption=None,
274
  image=None,
@@ -375,7 +375,7 @@ def _gen_shape(
375
  return mesh, main_image, save_folder, stats, seed
376
 
377
 
378
- @spaces.GPU(duration=70)
379
  def generation_all(
380
  caption=None,
381
  image=None,
@@ -444,7 +444,7 @@ def generation_all(
444
  )
445
 
446
 
447
- @spaces.GPU(duration=40)
448
  def shape_generation(
449
  caption=None,
450
  image=None,
 
268
  """
269
 
270
 
271
+
272
  def _gen_shape(
273
  caption=None,
274
  image=None,
 
375
  return mesh, main_image, save_folder, stats, seed
376
 
377
 
378
+
379
  def generation_all(
380
  caption=None,
381
  image=None,
 
444
  )
445
 
446
 
447
+
448
  def shape_generation(
449
  caption=None,
450
  image=None,