asimfayaz commited on
Commit
b73c7e6
·
1 Parent(s): 8cdea5c

Set GPU function durations to 180 seconds for better reliability

Browse files

- Changed generation_all duration from 130 to 180 seconds
- Changed generate_texture_lazy duration from 130 to 180 seconds
- Provides better safety margin for texture generation
- Reduces risk of 'GPU task aborted' errors

Files changed (1) hide show
  1. gradio_app.py +1 -1
gradio_app.py CHANGED
@@ -549,7 +549,7 @@ def _gen_shape(
549
  main_image = image if not MV_MODE else image['front']
550
  return mesh, main_image, save_folder, stats, seed
551
 
552
- @spaces.GPU(duration=130)
553
  def generation_all(
554
  caption=None,
555
  image=None,
 
549
  main_image = image if not MV_MODE else image['front']
550
  return mesh, main_image, save_folder, stats, seed
551
 
552
+ @spaces.GPU(duration=180)
553
  def generation_all(
554
  caption=None,
555
  image=None,