Commit Graph

443 Commits

Author SHA1 Message Date
M
869047589f
webui: alphabetize arguments (#428)
* webui: alphabetize arguments

* update to the latest arg list
2022-09-01 11:36:27 +01:00
Joshua Kimsey
8212768e76
Fixed ports not opening on 7860 (#414)
* 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>
2022-09-01 11:34:33 +01:00
Kevin Gibbons
deed4e9171
direct feature requests to the discussion tab (#395) 2022-09-01 11:33:14 +01:00
devilismyfriend
1f22b0f5aa
[Feature] Image Processing tab (#401)
* 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>
2022-09-01 11:32:11 +01:00
Thomas Mello
773aa60e8a
refactor: python js interface (#381)
* 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
2022-09-01 11:11:22 +01:00
altryne
8212d8e5de
fixes [CHORE] - add codeowners file for altryne on /frontend #386 (#387)
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>

Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
2022-08-31 20:39:04 +01:00
willlllllio
fe746ce7c1
fix endless sleep with optimized and batchsize (#384)
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>
2022-08-31 19:37:27 +01:00
_nderscore
c00233220e
fix: add guard against subprompt weights adding up to zero + colon escaping support (#380)
* fix: add guard against subprompt weights adding up to zero

* feat: add support for backslash-escaped colon character in prompts

Co-authored-by: _nderscore <_@_._>
2022-08-31 19:31:13 +01:00
hlky
fecac5c242
Update frontend.py 2022-08-31 14:59:38 +01:00
hlky
89328b5da0
#370 2022-08-31 14:59:09 +01:00
hlky
7754880f55
#234 2022-08-31 14:34:50 +01:00
hlky
341c13a4de
#172 2022-08-31 14:17:57 +01:00
hlky
dffdaaaf77
#354 + playground.py update 2022-08-31 13:58:49 +01:00
oc013
cfc9f00a93
Add comment about jpg samples toggle in webui config (#352) 2022-08-31 05:10:48 +01:00
hlky
5059c2780e
txt2img width height 2022-08-31 03:25:32 +01:00
JuanRising
4ec2d328db Add dimensions info (aspect ratio and pixel count) 2022-08-31 03:22:40 +01:00
hlky
7fb25b25a4
Update FUNDING.yml 2022-08-31 00:06:47 +01:00
JohannesGaessler
c295420293 Set YAML dump width to 10000 2022-08-30 23:17:57 +01:00
_nderscore
b647ecaa92 fix: minor painterro integration fixes 2022-08-30 23:13:51 +01:00
Thomas Mello
3a376392b3 fix #313 2022-08-30 23:13:51 +01:00
Oxlamon
3ce28c2e76 FIx simple tmpl image grid. Detach from orig grid 2022-08-30 23:13:51 +01:00
_nderscore
af7f64028c fix: remove unneeded map 2022-08-30 23:13:51 +01:00
_nderscore
fcfe7ba9e1 feat: simplify prompt weight splitting function 2022-08-30 23:13:51 +01:00
jansteffen
d657f6e9b9 img2img tab layout update
Moved related options to be next to each other, moved other options to be consistent with their positions on txt2img tab.
2022-08-30 23:13:51 +01:00
hlky
94f064fa81
Negative classifier free guidance scale 2022-08-30 18:16:14 +01:00
hlky
3c6e5c26a1
Update FUNDING.yml 2022-08-30 17:52:45 +01:00
hlky
05f96efaee
Update FUNDING.yml 2022-08-30 17:50:04 +01:00
hlky
f08c812ebb
Create FUNDING.yml 2022-08-30 17:43:24 +01:00
hlky
33517d4381
Revert "Startup OOM fix (optimized)"
This reverts commit fe173407fe.
2022-08-30 16:30:30 +01:00
hlky
67cd56b478
css? 2022-08-30 15:47:38 +01:00
hlky
53c3aca314
Switch order of batch count and batch size 2022-08-30 14:49:51 +01:00
Thomas Mello
bdac53c5a1
refactor: Painterro UI code is moved to index.js (#316)
* 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>
2022-08-30 14:33:27 +01:00
oobabooga
fe173407fe Startup OOM fix (optimized)
Prevent model from being loaded into VRAM at startup in optimized mode (causes OOM)
2022-08-30 14:32:53 +01:00
hlky
7ad5c4ecd8
Revert "Removed share options"
This reverts commit 123b21e452.
2022-08-30 14:06:09 +01:00
hlky
1a4cb313ec
Update sync.yml 2022-08-30 13:09:27 +01:00
hlky
ee3c300d8f
Update sync.yml 2022-08-30 12:00:52 +01:00
hlky
253b0e5a5c
Update README.md 2022-08-30 11:43:24 +01:00
Thomas Mello
8f76c7ad97
refactor: decouple python from js and css (#297)
* decouple python from js

* bring the painterro btn back

Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
2022-08-30 11:37:16 +01:00
anon-hlhl
c73fdd78d9
Implement masking during sampling to improve blending (#308)
* 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>
2022-08-30 11:32:15 +01:00
xraxra
96aba4b36d
Variations (#307)
* variation support

WIP

* removed extra )

* fixed warning

Co-authored-by: xra <mail@xra.dev>
Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
2022-08-30 11:18:00 +01:00
hlky
123b21e452
Removed share options
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.
2022-08-30 10:58:08 +01:00
hlky
b31af46487
not >_> 2022-08-30 10:23:18 +01:00
hlky
73754a1b29
Revert "Original grid captions bugfix"
This reverts commit 9119ca4b57.
2022-08-30 10:19:45 +01:00
hlky
c620391c91
#304 2022-08-30 09:32:06 +01:00
Oxlamon
9119ca4b57 Original grid captions bugfix 2022-08-30 09:24:19 +01:00
Oxlamon
4d13c894aa Simple templating with ESRGAN bug fix 2022-08-30 09:24:19 +01:00
_nderscore
97f413c17a fix: update advanced editor tips 2022-08-30 09:17:54 +01:00
_nderscore
79ff7bdbd5 fix: fix bug in mask toggle introduced in #289 2022-08-30 09:17:54 +01:00
hlky
49e6178fd8
#287 2022-08-30 00:17:33 +01:00
hlky
842a53fb71
#287 2022-08-29 23:58:49 +01:00