Commit Graph

27 Commits

Author SHA1 Message Date
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
hlky
fecac5c242
Update frontend.py 2022-08-31 14:59:38 +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
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
_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
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
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
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
c620391c91
#304 2022-08-30 09:32:06 +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
_nderscore
7ddbd6533a feat: improve integration with painterro image editor 2022-08-29 23:35:49 +01:00
jansteffen
59e1e8fe17 Better robustness of styling for prompt and submit 2022-08-29 15:20:53 +01:00
Nelson Chen
4fac0f2558 Update frontend.py
typo fix small
2022-08-29 12:19:51 +01:00
jansteffen
899b811dd0 Keep the generate button (visually) inside the text box 2022-08-29 12:19:35 +01:00
_nderscore
5ff04a5a52 fix(css): prevent generate button from overlapping prompt, fix font size on multiline prompts 2022-08-29 12:19:35 +01:00
Alex Volkov
64ca78ca76 Refactored the UI, added a web_playground.py to be run without any models. 2022-08-29 00:41:17 +01:00