currently will endless loop in the while: time.sleep(1) part on 2nd iteration of for loop.
move back to cpu should only be ran once afterwards not [batchsize] times.
Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
* fix: add guard against subprompt weights adding up to zero
* feat: add support for backslash-escaped colon character in prompts
Co-authored-by: _nderscore <_@_._>
* decouple python from js
* bring the painterro btn back
* refactor painterro code
replicate 7ddbd6533a as close as possible
* improve reliability
* fix big brain import
Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
* Implement masking during sampling to improve blending
- Almost inpainting-like behaviour
- Works best with small erased areas
- Denoiser strength to 1 results to completely in-paint with no previous image info
- Uncrop kind of sometimes works, but not really
- DDIM changes depend on a PR in stable-diffusion core
* Remove old init_masking code on save, as the masked image is applied during sampling
Co-authored-by: anon-hlhl <>
Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
Share doesn't work due to a gradio bug, not sure why someone added that. Especially because queuing was broken with share even before we switched to Blocks interface (which is the reason for the share issue).
Some people are using other workarounds to share with friends so need queuing, iirc it doesn't cause any issues to have queuing enabled by default.