mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-23 21:37:01 +08:00
formatting: Empty lines/spacing
This commit is contained in:
parent
aeba1cc2a0
commit
da0638b3f7
6
nodes.py
6
nodes.py
@ -933,7 +933,7 @@ class LatentFromBatch:
|
|||||||
else:
|
else:
|
||||||
s["batch_index"] = samples["batch_index"][batch_index:batch_index + length]
|
s["batch_index"] = samples["batch_index"][batch_index:batch_index + length]
|
||||||
return (s,)
|
return (s,)
|
||||||
|
|
||||||
class RepeatLatentBatch:
|
class RepeatLatentBatch:
|
||||||
@classmethod
|
@classmethod
|
||||||
def INPUT_TYPES(s):
|
def INPUT_TYPES(s):
|
||||||
@ -948,7 +948,7 @@ class RepeatLatentBatch:
|
|||||||
def repeat(self, samples, amount):
|
def repeat(self, samples, amount):
|
||||||
s = samples.copy()
|
s = samples.copy()
|
||||||
s_in = samples["samples"]
|
s_in = samples["samples"]
|
||||||
|
|
||||||
s["samples"] = s_in.repeat((amount, 1,1,1))
|
s["samples"] = s_in.repeat((amount, 1,1,1))
|
||||||
if "noise_mask" in samples and samples["noise_mask"].shape[0] > 1:
|
if "noise_mask" in samples and samples["noise_mask"].shape[0] > 1:
|
||||||
masks = samples["noise_mask"]
|
masks = samples["noise_mask"]
|
||||||
@ -1291,7 +1291,7 @@ class SaveImage:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def INPUT_TYPES(s):
|
def INPUT_TYPES(s):
|
||||||
return {"required":
|
return {"required":
|
||||||
{"images": ("IMAGE", ),
|
{"images": ("IMAGE", ),
|
||||||
"filename_prefix": ("STRING", {"default": "ComfyUI"})},
|
"filename_prefix": ("STRING", {"default": "ComfyUI"})},
|
||||||
"hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"},
|
"hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user