The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
ltxv: fix preprocessing exception when compression is 0. (#7431)
Michael Kupchick832fc02330c1
diff --git a/comfy_extras/nodes_lt.py b/comfy_extras/nodes_lt.pyindex fdc6c7c13..525889200 100644--- a/comfy_extras/nodes_lt.py+++ b/comfy_extras/nodes_lt.py@@ -446,10 +446,9 @@ 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))+ output_images = []+ for i in range(image.shape[0]):+ output_images.append(preprocess(image[i], img_compression))return (torch.stack(output_images),)