Spaces:
Running on Zero
Running on Zero
Upload demo.py with huggingface_hub
Browse files
demo.py
CHANGED
|
@@ -533,7 +533,7 @@ def _gpu_duration(
|
|
| 533 |
# Cold workers spend ~30–60 s importing bpy + loading the model before
|
| 534 |
# any GPU work. Give every request a generous 240 s floor.
|
| 535 |
file_count = len(files) if files is not None else 1
|
| 536 |
-
return
|
| 537 |
|
| 538 |
|
| 539 |
@spaces.GPU(duration=_gpu_duration)
|
|
|
|
| 533 |
# Cold workers spend ~30–60 s importing bpy + loading the model before
|
| 534 |
# any GPU work. Give every request a generous 240 s floor.
|
| 535 |
file_count = len(files) if files is not None else 1
|
| 536 |
+
return 175 # patched: 175*1.5=262s effective, fits free quota
|
| 537 |
|
| 538 |
|
| 539 |
@spaces.GPU(duration=_gpu_duration)
|