Spaces:
Running on Zero
Running on Zero
Lower minimum duration to 2s
Browse files
diffusers/modular_pipelines/minimax_h3/packing.py
CHANGED
|
@@ -58,7 +58,7 @@ MINIMAX_H3_MAX_PIXELS = 768 * 1344
|
|
| 58 |
MINIMAX_H3_CANVAS_MULTIPLE = 32
|
| 59 |
MINIMAX_H3_MIN_ASPECT_RATIO = 1 / 4
|
| 60 |
MINIMAX_H3_MAX_ASPECT_RATIO = 4
|
| 61 |
-
MINIMAX_H3_MIN_DURATION = 5.0
|
| 62 |
MINIMAX_H3_MAX_DURATION = 15.0
|
| 63 |
|
| 64 |
# The video VAE encodes 17 pixel frames per chunk and drops the 3 trailing latent frames of every chunk, so
|
|
|
|
| 58 |
MINIMAX_H3_CANVAS_MULTIPLE = 32
|
| 59 |
MINIMAX_H3_MIN_ASPECT_RATIO = 1 / 4
|
| 60 |
MINIMAX_H3_MAX_ASPECT_RATIO = 4
|
| 61 |
+
MINIMAX_H3_MIN_DURATION = 2.0 # released contract says 5.0; lowered for short-clip support, snaps to 56 frames minimum
|
| 62 |
MINIMAX_H3_MAX_DURATION = 15.0
|
| 63 |
|
| 64 |
# The video VAE encodes 17 pixel frames per chunk and drops the 3 trailing latent frames of every chunk, so
|