Spaces:
Running on Zero
Running on Zero
Start the duration slider at the 5 s the model actually generates
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ FPS, FRAMES_PER_CHUNK, LATENTS_PER_CHUNK = 24, 17, 5
|
|
| 80 |
# 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,
|
| 81 |
# which rounds up to 362, i.e. 15.083 s, and is refused. 14 is the last whole second that survives the snap.
|
| 82 |
MAX_UI_DURATION = 14
|
| 83 |
-
MIN_DURATION =
|
| 84 |
# A reference video shorter than 2 s gives the model almost no motion to read, and 15 s is the checkpoint's ceiling.
|
| 85 |
MIN_REFERENCE_VIDEO, MAX_REFERENCE_VIDEO = 2.0, 15.0
|
| 86 |
# `MINIMAX_H3_MAX_REFERENCE_IMAGES`, hardcoded so the UI renders before `diffusers` is importable. The slots are all
|
|
|
|
| 80 |
# 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,
|
| 81 |
# which rounds up to 362, i.e. 15.083 s, and is refused. 14 is the last whole second that survives the snap.
|
| 82 |
MAX_UI_DURATION = 14
|
| 83 |
+
MIN_DURATION = 5
|
| 84 |
# A reference video shorter than 2 s gives the model almost no motion to read, and 15 s is the checkpoint's ceiling.
|
| 85 |
MIN_REFERENCE_VIDEO, MAX_REFERENCE_VIDEO = 2.0, 15.0
|
| 86 |
# `MINIMAX_H3_MAX_REFERENCE_IMAGES`, hardcoded so the UI renders before `diffusers` is importable. The slots are all
|