Skip to content

Commit

Permalink
Adding explicit names for outputs of some nodes
Browse files Browse the repository at this point in the history
Added explicit names for outputs of some nodes that have multiple outputs of the same type and for which there could be ambiguity
  • Loading branch information
aurel-g authored Nov 4, 2024
1 parent 6e4aeb2 commit 6b5998c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layered_diffusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def INPUT_TYPES(s):

MAX_FRAMES = 3
RETURN_TYPES = ("IMAGE",) * MAX_FRAMES
RETURN_NAMES = tuple(f"image{i + 1}" for i in range(MAX_FRAMES))

def decode(
self,
Expand Down Expand Up @@ -441,6 +442,7 @@ def INPUT_TYPES(s):
}

RETURN_TYPES = ("MODEL", "CONDITIONING", "CONDITIONING")
RETURN_NAMES = ("MODEL", "positive", "negative")
FUNCTION = "apply_layered_diffusion"
CATEGORY = "layer_diffuse"
MODELS = (
Expand Down Expand Up @@ -566,6 +568,7 @@ def INPUT_TYPES(s):
}

RETURN_TYPES = ("MODEL", "CONDITIONING", "CONDITIONING")
RETURN_NAMES = ("MODEL", "positive", "negative")
FUNCTION = "apply_layered_diffusion"
CATEGORY = "layer_diffuse"
MODELS = (
Expand Down

0 comments on commit 6b5998c

Please sign in to comment.