Skip to content

Conversation

@KohakuBlueleaf
Copy link
Collaborator

Description

the default width/height in prompt_parser.SdConditioning is None
In some case (especially custom script), this will cause error when running some custom scripts with SDXL model with hires-fix.

So I add a check to ensure there is no None value.

Checklist:

@KohakuBlueleaf
Copy link
Collaborator Author

This PR is not related to any JS things so I think the ESlint is from other commit.

@AUTOMATIC1111 AUTOMATIC1111 merged commit 110e3d7 into dev Mar 9, 2024
@catboxanon catboxanon deleted the fix-default-in-get_learned_conditioning branch November 1, 2024 16:58
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.

3 participants