Commit Graph

514 Commits

Author SHA1 Message Date
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
hlky
e6d06a2b24
⚠️ note to everyone dont mess with line endings again ⚠️ 2022-08-29 12:46:20 +01:00
Lex Darlog (DRL)
a90f49a56c fix *.sh line to be uniform with the others 2022-08-29 12:42:45 +01:00
Lex Darlog (DRL)
20a04a1ec3 .gitattributes from https://github.com/hlky/stable-diffusion/pull/91 2022-08-29 12:42:45 +01:00
Lex Darlog (DRL)
7698371d72 .gitignore from https://github.com/hlky/stable-diffusion/pull/55 + project-specific rules removed 2022-08-29 12:42:45 +01:00
hlky
2974abae30
Update README.md 2022-08-29 12:28:31 +01:00
_nderscore
0f28871a64 feat: add denoising strength to parameter output and pnginfo 2022-08-29 12:21:58 +01:00
hlky
2ae6be00ef Revert "Set auto prompt_matrix depending on prompt"
This reverts commit 6d5dd00981.
2022-08-29 12:20:40 +01:00
hlky
4d0572cfc1 Revert "Update matrix prompt generation code"
This reverts commit 2891456369.
2022-08-29 12:20:40 +01:00
hlky
d28ea40140 Revert "Bug fix"
This reverts commit 45db349689.
2022-08-29 12:20:40 +01:00
hlky
9156c8b834 Revert "Removed auto prompt_matrix check (revert)"
This reverts commit 0b2f5bf46a.
2022-08-29 12:20:40 +01:00
hlky
c0cd601d6a Revert "Removed [obsolete] text in check box"
This reverts commit ca9e20905f.
2022-08-29 12:20:40 +01:00
Oxlamon
ca9e20905f Removed [obsolete] text in check box 2022-08-29 12:20:14 +01:00
Oxlamon
0b2f5bf46a Removed auto prompt_matrix check (revert) 2022-08-29 12:20:14 +01:00
Oxlamon
45db349689 Bug fix 2022-08-29 12:20:14 +01:00
Oxlamon
2891456369 Update matrix prompt generation code 2022-08-29 12:20:14 +01:00