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

if not enable, return fast #209

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

huaizong
Copy link

No description provided.

@Gourieff
Copy link

You should define self.enable first and then check it

self.enable = enable
if not self.enable:
    return

or it will stop with an error while passing through the postprocess_image function when you do something in the "img2img" tab

@huaizong
Copy link
Author

You should define self.enable first and then check it

self.enable = enable
if not self.enable:
    return

or it will stop with an error while passing through the postprocess_image function when you do something in the "img2img" tab

fix it

@Gourieff
Copy link

I implemented almost the same logic in my fork, it really gives a little speed up when extension is not enabled
Thanks for noticing this moment! I mentioned you as a contributor in the latest Release https://github.com/Gourieff/sd-webui-reactor/releases

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.

2 participants