Fix skipping batch when no upscale is performed
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user