WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.15k stars 170 forks source link

Image Batch not working #164

Closed HermitCrabe closed 1 year ago

HermitCrabe commented 1 year ago

The Image Batch node fails to run, and throws an error about missing required inputs. Adding in an empty required section has fixed it for me:

class WAS_Image_Batch:
    def __init__(self):
        pass

    @classmethod
    def INPUT_TYPES(cls):
        return {
            "required": {
            },
            "optional": {
                "images_a": ("IMAGE",),
                "images_b": ("IMAGE",),
                "images_c": ("IMAGE",),
                "images_d": ("IMAGE",),
                # "images_e": ("IMAGE",),
                # "images_f": ("IMAGE",),
                # Theoretically, an infinite number of image input parameters can be added.
            },
        }
WASasquatch commented 1 year ago

If you want you can PR the patch, otherwise I'll get to it when I get a chance. I think that was a PR cause I don't remember adding it.

HermitCrabe commented 1 year ago

Just made a PR, should be good to go.