Spaces:
Running on Zero
Running on Zero
Duration slider from 2s
Browse files77 unmodified lines787980818182838477 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 = 5MIN_DURATION = 2# 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