Spaces:
Runtime error
Runtime error
Tune ZeroGPU durations: CT 90s, MR/MR-Brain 60s
Browse filesCo-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -44,9 +44,9 @@ _ensure_upstream()
|
|
| 44 |
# ZeroGPU decorator — present on HF Spaces, optional locally.
|
| 45 |
try:
|
| 46 |
import spaces # type: ignore
|
| 47 |
-
spaces_gpu_ct = spaces.GPU(duration=
|
| 48 |
-
spaces_gpu_mr = spaces.GPU(duration=
|
| 49 |
-
spaces_gpu_mr_brain = spaces.GPU(duration=
|
| 50 |
except (ImportError, AttributeError):
|
| 51 |
def _identity(d=None): # noqa: ARG001
|
| 52 |
def deco(fn):
|
|
|
|
| 44 |
# ZeroGPU decorator — present on HF Spaces, optional locally.
|
| 45 |
try:
|
| 46 |
import spaces # type: ignore
|
| 47 |
+
spaces_gpu_ct = spaces.GPU(duration=90)
|
| 48 |
+
spaces_gpu_mr = spaces.GPU(duration=60)
|
| 49 |
+
spaces_gpu_mr_brain = spaces.GPU(duration=60)
|
| 50 |
except (ImportError, AttributeError):
|
| 51 |
def _identity(d=None): # noqa: ARG001
|
| 52 |
def deco(fn):
|