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

Increase GPU function duration for texture generation

Browse files

- Changed generate_texture_lazy duration from 60 to 130 seconds
- Matches the duration used in generation_all function
- Prevents 'GPU task aborted' errors during texture generation

Files changed (1) hide show
  1. gradio_app.py +1 -1
gradio_app.py CHANGED
@@ -632,7 +632,7 @@ def generation_all(
632
  )
633
 
634
 
635
- @spaces.GPU(duration=60)
636
  def generate_texture_lazy(mesh_path, image_path, output_mesh_path):
637
  """Generate texture for a mesh using lazy initialization to avoid CUDA startup issues."""
638
  try:
 
632
  )
633
 
634
 
635
+ @spaces.GPU(duration=180)
636
  def generate_texture_lazy(mesh_path, image_path, output_mesh_path):
637
  """Generate texture for a mesh using lazy initialization to avoid CUDA startup issues."""
638
  try: