Commit Graph

479 Commits

Author SHA1 Message Date
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
hlky
dab958377e
#287 2022-08-29 23:52:49 +01:00
_nderscore
7ddbd6533a feat: improve integration with painterro image editor 2022-08-29 23:35:49 +01:00
hlky
9f8516b493
Fix for #287 2022-08-29 23:31:45 +01:00
hlky
4878a68b40
Update webui.py 2022-08-29 19:16:41 +01:00
hlky
3fb8e64a7d
remove default=int(os.environ.get('CUDA_VISIBLE_DEVICES', 0) 2022-08-29 19:14:24 +01:00
hlky
5eae4377ce f"cuda:{opt.gpu}" 2022-08-29 19:10:18 +01:00
hlky
0534b89ff5 --extra-models-gpu --gfpgan-gpu <id> --esrgan-gpu <id>
This will let you set the gpu id which gfgpan and esrgan load on. I don't have multiple gpus so i can't test it properly myself but the code is working without errors when I use --extra-models-gpu --gfpgan-gpu 0 --esrgan-gpu 0

Note: you will want to use this in combination with --gpu to ensure the main model loads of the gpu you want it to, otherwise the default is id 0
2022-08-29 19:10:18 +01:00
oobabooga
e253a27a0f Fix OOM issue
modelFS must be removed from GPU memory after each batch is generated, otherwise both modelFS and modelCS will be loaded into memory at once and the script will OOM
2022-08-29 17:51:49 +01:00
Oxlamon
10cf5e5317 Grid rows and batch count support. 2022-08-29 15:53:21 +01:00
jansteffen
59e1e8fe17 Better robustness of styling for prompt and submit 2022-08-29 15:20:53 +01:00
hlky
c1ad047a82
Revert "⚠️ note to everyone dont mess with line endings again ⚠️"
This reverts commit e6d06a2b24.
2022-08-29 13:44:40 +01:00
hlky
33ebc61204
Revert "⚠️ note to everyone dont mess with line endings again ⚠️"
This reverts commit 444117f3ba.
2022-08-29 13:44:39 +01:00
hlky
023e9a4038
Delete .gitattributes 2022-08-29 12:53:29 +01:00
hlky
444117f3ba
⚠️ note to everyone dont mess with line endings again ⚠️ 2022-08-29 12:48:17 +01:00