ltxv: fix preprocessing exception when compression is 0. (#7431)
This commit is contained in:
@@ -446,7 +446,6 @@ class LTXVPreprocess:
|
||||
CATEGORY = "image"
|
||||
|
||||
def preprocess(self, image, img_compression):
|
||||
if img_compression > 0:
|
||||
output_images = []
|
||||
for i in range(image.shape[0]):
|
||||
output_images.append(preprocess(image[i], img_compression))
|
||||
|
||||
Reference in New Issue
Block a user