kulkas2pintu commited on
Commit
28caa84
·
1 Parent(s): 329fea3

Increase BASE_STEP_DURATION 5->15 (reserve enough ZeroGPU time to finish 10s), matching wan222/wan444

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -422,7 +422,7 @@ def get_inference_duration(
422
  progress
423
  ):
424
  BASE_FRAMES_HEIGHT_WIDTH = 81 * 832 * 624
425
- BASE_STEP_DURATION = 5.
426
  width, height = resized_image.size
427
  factor = num_frames * width * height / BASE_FRAMES_HEIGHT_WIDTH
428
  step_duration = BASE_STEP_DURATION * factor ** 1.5
 
422
  progress
423
  ):
424
  BASE_FRAMES_HEIGHT_WIDTH = 81 * 832 * 624
425
+ BASE_STEP_DURATION = 15
426
  width, height = resized_image.size
427
  factor = num_frames * width * height / BASE_FRAMES_HEIGHT_WIDTH
428
  step_duration = BASE_STEP_DURATION * factor ** 1.5