Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Logical Comparison Nodes #331

Merged
merged 1 commit into from
Jan 21, 2024
Merged

Conversation

ghostsquad
Copy link
Contributor

@ghostsquad ghostsquad commented Jan 17, 2024

Adds a couple of logical comparison nodes!

  1. Contains - as in if x in y - Useful if you have the checkpoint name, and the checkpoint contains "sdxl", you can automatically do something different based on that information.
  2. OR - situation above, but maybe looking for "sd_xl" or "sdxl".

while I was at it, I also added AND, XOR, and NOT, Boolean Primitive and Boolean to Text

Here are the tests I ran manually:

image

image

image

image

image

image

@ghostsquad
Copy link
Contributor Author

this is ready for review. Thanks for your time!

@WASasquatch WASasquatch merged commit 4f56124 into WASasquatch:main Jan 21, 2024
@WASasquatch
Copy link
Owner

Looks good, thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants