Spaces:
Running
on
Zero
Running
on
Zero
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
- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -632,7 +632,7 @@ def generation_all(
|
|
632 |
)
|
633 |
|
634 |
|
635 |
-
@spaces.GPU(duration=
|
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:
|