Spaces:
Running on Zero
Running on Zero
Raise per-session ZeroGPU budget to 150 s
Browse files
app.py
CHANGED
|
@@ -81,7 +81,7 @@ STREAM_WIDTH = 1280
|
|
| 81 |
JPEG_QUALITY = 82
|
| 82 |
MAX_BLOCKS_PER_SESSION = 512 # hard cap so a session can't run forever
|
| 83 |
SESSION_IDLE_TIMEOUT = 600 # seconds; janitor reaps abandoned sessions
|
| 84 |
-
GPU_DURATION =
|
| 85 |
|
| 86 |
# ββ Real-time pacing configuration βββββββββββββββββββββββββββββββββββββββββββ
|
| 87 |
# The GPU decodes a whole block (12 frames) at once, so all of a block's
|
|
|
|
| 81 |
JPEG_QUALITY = 82
|
| 82 |
MAX_BLOCKS_PER_SESSION = 512 # hard cap so a session can't run forever
|
| 83 |
SESSION_IDLE_TIMEOUT = 600 # seconds; janitor reaps abandoned sessions
|
| 84 |
+
GPU_DURATION = 150 # seconds per @spaces.GPU allocation (one session)
|
| 85 |
|
| 86 |
# ββ Real-time pacing configuration βββββββββββββββββββββββββββββββββββββββββββ
|
| 87 |
# The GPU decodes a whole block (12 frames) at once, so all of a block's
|