Update handler.py
Browse files- handler.py +4 -3
handler.py
CHANGED
@@ -156,9 +156,10 @@ class GenerationConfig:
|
|
156 |
width: int = 768
|
157 |
height: int = 416
|
158 |
|
159 |
-
|
160 |
-
# this
|
161 |
-
|
|
|
162 |
|
163 |
# users may tend to always set this to the max, to get as much useable content as possible (which is MAX_FRAMES ie. 257).
|
164 |
# The value must be a multiple of 8, plus 1 frame.
|
|
|
156 |
width: int = 768
|
157 |
height: int = 416
|
158 |
|
159 |
+
|
160 |
+
# this is a hack to fool LTX-Video into believing our input image is an actual video frame with poor encoding quality
|
161 |
+
# after a quick benchmark using the value 70 seems like a sweet spot
|
162 |
+
input_image_quality: int = 70
|
163 |
|
164 |
# users may tend to always set this to the max, to get as much useable content as possible (which is MAX_FRAMES ie. 257).
|
165 |
# The value must be a multiple of 8, plus 1 frame.
|