diff --git a/nodes.py b/nodes.py index 8d80253..5753474 100644 --- a/nodes.py +++ b/nodes.py @@ -130,7 +130,7 @@ class UltimateSDUpscale: shared.actual_upscaler = upscale_model # Set the batch of images - shared.batch = [tensor_to_pil(image, 0)] # Script only works with one image, we will do the batch processing ourselves + shared.batch = [tensor_to_pil(image, i) for i in range(len(image))] shared.batch_as_tensor = image # Processing diff --git a/pyproject.toml b/pyproject.toml index 87aeeed..24542c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui_ultimatesdupscale" description = "ComfyUI nodes for the Ultimate Stable Diffusion Upscale script by Coyote-A." -version = "1.2.2" +version = "1.2.3" license = { file = "LICENSE" } [project.urls]