Increase maximum batch sizes of empty image nodes.

This commit is contained in:
comfyanonymous 2023-09-25 01:21:28 -04:00
parent f00471cdc8
commit 42f6d1ebe2
1 changed files with 2 additions and 2 deletions

View File

@ -891,7 +891,7 @@ class EmptyLatentImage:
def INPUT_TYPES(s):
return {"required": { "width": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8}),
"height": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8}),
"batch_size": ("INT", {"default": 1, "min": 1, "max": 64})}}
"batch_size": ("INT", {"default": 1, "min": 1, "max": 1024})}}
RETURN_TYPES = ("LATENT",)
FUNCTION = "generate"
@ -1503,7 +1503,7 @@ class EmptyImage:
def INPUT_TYPES(s):
return {"required": { "width": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 1}),
"height": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 1}),
"batch_size": ("INT", {"default": 1, "min": 1, "max": 64}),
"batch_size": ("INT", {"default": 1, "min": 1, "max": 1024}),
"color": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFF, "step": 1, "display": "color"}),
}}
RETURN_TYPES = ("IMAGE",)