Spaces:
Running on Zero
Running on Zero
Start the duration slider at the 5 s the model actually generates
Browse files79 unmodified lines808182838384858679 unmodified lines# 15 s is the checkpoint's ceiling, but it is the *snapped* frame count that has to hold for it: 15 s is 360 frames,# which rounds up to 362, i.e. 15.083 s, and is refused. 14 is the last whole second that survives the snap.MAX_UI_DURATION = 14MIN_DURATION = 2MIN_DURATION = 5# A reference video shorter than 2 s gives the model almost no motion to read, and 15 s is the checkpoint's ceiling.MIN_REFERENCE_VIDEO, MAX_REFERENCE_VIDEO = 2.0, 15.0# `MINIMAX_H3_MAX_REFERENCE_IMAGES`, hardcoded so the UI renders before `diffusers` is importable. The slots are allapp.py+1-1