ICGenAIShare04 commited on
Commit
e31bd94
·
verified ·
1 Parent(s): 7a2f22f

feat: increase ZeroGPU video duration to 600s for model loading headroom

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def _gpu_generate_one_video(run_dir, segment_idx, prompt, negative_prompt, seed)
81
  # Apply @spaces.GPU decorator on Spaces — each gets a fresh token
82
  if IS_SPACES:
83
  _gpu_generate_images = spaces.GPU(duration=300)(_gpu_generate_images)
84
- _gpu_generate_one_video = spaces.GPU(duration=300)(_gpu_generate_one_video)
85
 
86
 
87
  # ---------------------------------------------------------------------------
 
81
  # Apply @spaces.GPU decorator on Spaces — each gets a fresh token
82
  if IS_SPACES:
83
  _gpu_generate_images = spaces.GPU(duration=300)(_gpu_generate_images)
84
+ _gpu_generate_one_video = spaces.GPU(duration=600)(_gpu_generate_one_video)
85
 
86
 
87
  # ---------------------------------------------------------------------------