Spaces:
Runtime error
Runtime error
Claude commited on
fix: Reduce GPU duration to 120s for ZeroGPU limits
Browse files
app.py
CHANGED
|
@@ -526,7 +526,7 @@ def _process_youtube_impl(
|
|
| 526 |
|
| 527 |
# Apply ZeroGPU decorator if available
|
| 528 |
if ZEROGPU_AVAILABLE:
|
| 529 |
-
@spaces.GPU(duration=
|
| 530 |
def process_youtube(
|
| 531 |
url: str,
|
| 532 |
num_frames: int,
|
|
|
|
| 526 |
|
| 527 |
# Apply ZeroGPU decorator if available
|
| 528 |
if ZEROGPU_AVAILABLE:
|
| 529 |
+
@spaces.GPU(duration=120) # 2 minute timeout for video processing
|
| 530 |
def process_youtube(
|
| 531 |
url: str,
|
| 532 |
num_frames: int,
|