Claude commited on
Commit
6c4d34d
·
unverified ·
1 Parent(s): 81bd3e4

fix: Reduce GPU duration to 120s for ZeroGPU limits

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=300) # 5 minute timeout for video processing
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,