Skip to content

Commit

Permalink
Merge pull request #12 from chrisgoringe/main
Browse files Browse the repository at this point in the history
  • Loading branch information
ssitu authored Oct 17, 2023
2 parents 37c6a04 + edaa8e9 commit 3782eca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ def INPUT_TYPES(s):
CATEGORY = "FABRIC"

def batch(self, latent1, latent2):
if (latent1 is None):
return (latent2,)
if (latent2 is None):
return (latent1,)

lat1 = latent1["samples"]
lat2 = latent2["samples"]
if lat1.shape[1:] != lat2.shape[1:]:
Expand Down

0 comments on commit 3782eca

Please sign in to comment.