* Fixed ports not opening on 7860
Fixed the issue where, after a crash or quick relaunch, SD would not use the same port. It will now wait for 7860 to reopen before launching the webui again.
* Added ability to choose custom port at launch
Added a parser argument to allow users to choose a custom port at launch. Default is still 7860. Also ensured that error messages associated with a port not being available will reflect what port is actually being checked.
* Moved parser argument for port to be under the share parser argument
Moved the port parser argument to be directly under the share parser argument for consistency.
Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
* added image lab
* first release
model loading/unloading and save procedure added, commented out unused code from frontend
* bug fixes
Changed the image output to a gallery to display multiple items
Fixed results not showing up in output
Fixed RealESRGAN 2x mode not working and hard coded the default value for the reload.
* added GoBig model check
* added LDSR load check
* removed global statements, added model loader/unloader function
Co-authored-by: dr3amer <91037083+dr3am37@users.noreply.github.com>
Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
* refactor js interface
* rename call_SD to call_JS
* add invocation example to call_JS
* serialize args before passing them to js
* allow override of x
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.