Commit Graph

86 Commits

Author SHA1 Message Date
layerdiffusion
e26abf87ec Gradio 4 + WebUI 1.10 2024-07-26 12:02:46 -07:00
lllyasviel
ae51178629 allow extensions to sort themselves in UI
and other installed extensions will be on top now (including some resolution related UI extensions)
2024-02-17 08:15:29 -08:00
lllyasviel
d81e353d89 fix outpaint in inpaint_only+lama
the problem in inpaint_only+lama+"Resize and Fill" is fixed now.
SDXL+inpaint_only+lama+"Resize and Fill"+inpaint_fooocus_v26+"stop at 0.5 or 0.6" can be used as one SOTA outpaint method now
2024-02-14 02:45:23 -08:00
lllyasviel
fa8be06613 fix tile-colorfix problems
This will completely solve problems related to tile-colorfix and now tile colorfix/colorfix+sharp give same results to webui-cn
2024-02-14 02:19:04 -08:00
Chenlei Hu
6a854fcb38 Add documentation on ControlNetUnit (#176)
* remove dict from any

* nit

* nit
2024-02-10 22:30:22 -05:00
lllyasviel
ce21e7afe4 fix degradation 2024-02-09 23:09:01 -08:00
Chenlei Hu
5a7e755528 ControlNet API (#162)
* ControlNet API

* update cache key

* nits

* disable controlnet tests
2024-02-10 01:16:13 -05:00
Chengsong Zhang
ee565b337c ControlNet batch fix (#113)
* cn forward patcher

* simplify

* use args instead of kwargs

* postpond moving cond_hint to gpu

* also do this for t2i adapter

* use a1111's code to load files in a batch

* revert

* patcher for batch images

* patcher for batch images

* remove cn fn wrapper dupl

* remove shit

* use unit getattr instead of unet patcher

* fix bug

* small changte
2024-02-09 21:55:29 -06:00
lllyasviel
4ec1015162 fix mask can be none 2024-02-09 18:25:44 -08:00
lllyasviel
fb2e271668 support inpaint models from fooocus
put inpaint_v26.fooocus.patch in models\ControlNet, control SDXL models only
To get same algorithm as Fooocus, set "Stop at" (Ending Control Step) to 0.5
Fooocus always use 0.5 but in Forge users may use other values.
Results are best when stop at < 0.7. The model is not optimized with ending timesteps > 0.7
Supports inpaint_global_harmonious, inpaint_only, inpaint_only+lama.
In theory the inpaint_only+lama always outperform Fooocus in object removal task (but not all tasks).
2024-02-09 17:08:48 -08:00
lllyasviel
472a510151 try fix control mode weighting #155 2024-02-09 13:23:49 -08:00
Chenlei Hu
e1faf8327b Add back ControlNet HR option (#90)
* Add back ControlNet HR option

* nits

* protect kernel

* add enum

* fix

* fix

* Update controlnet.py

* restore controlnet.py

* hint ui

* Update controlnet.py

* fix

* Update controlnet.py

* Backend: better controlnet mask batch broadcasting

* Update README.md

* fix inpaint batch dim align #94

* fix sigmas device in rare cases #71

* rework sigma device mapping

* Add hr_option to infotext

---------

Co-authored-by: lllyasviel <lyuminzhang@outlook.com>
2024-02-07 11:09:52 -05:00
lllyasviel
711844ecd8 solve #76 2024-02-06 17:25:28 -08:00
lllyasviel
70ae2a4bce fix controlnet ignored in batch #55 2024-02-06 17:12:57 -08:00
Chengsong Zhang
b58b0bd425 batch mask (#44)
* mask batch, not working

* mask batch, working, infotext broken

* try remove old codes

* set CUDA_VISIBLE_DEVICES with args

* Revert "try remove old codes"

This reverts commit 63c527c373.

* Update controlnet_ui_group.py

* readme

* 🐛 Fix infotext

---------

Co-authored-by: lllyasviel <lyuminzhang@outlook.com>
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2024-02-06 12:54:35 -06:00
lllyasviel
e02b69aa0c Update controlnet.py 2024-02-04 22:33:02 -08:00
lllyasviel
a4d64adb32 loop 2024-02-04 22:21:38 -08:00
lllyasviel
a8c43f7af0 batch support 2024-02-04 22:04:20 -08:00
lllyasviel
c6f7fa82ff ini batch 2024-02-04 21:43:17 -08:00
Chenlei Hu
83277b15f4 Add option to disable thumbnail display (#36) 2024-02-03 22:30:30 -05:00
lllyasviel
90010e6612 Update controlnet.py 2024-02-02 19:50:31 -08:00
lllyasviel
99a7f5321d Update controlnet.py 2024-02-02 19:38:03 -08:00
lllyasviel
28e332c9a7 what 2024-02-02 19:27:52 -08:00
lllyasviel
db7bd0e4a8 try open first unit 2024-02-02 16:43:09 -08:00
Chenlei Hu
3e80e11309 Add back enabled checkbox and sync (#30)
* Add back enabled checkbox and sync

* Better state management
2024-02-02 17:57:45 -05:00
Chenlei Hu
6c3194147c Fix infotext (#28) 2024-02-02 17:31:20 -05:00
huchenlei
79eb31b074 Put unit in accordions 2024-02-02 17:01:20 -05:00
lllyasviel
98b0d7a999 remove shits 2024-02-02 01:17:50 -08:00
lllyasviel
a9212b640f photomaker 2024-02-01 22:57:49 -08:00
lllyasviel
4b27699e65 masked cnet 2024-02-01 21:48:58 -08:00
lllyasviel
9f6ee2a688 ini mask support 2024-02-01 21:21:41 -08:00
lllyasviel
07977a1fec Update controlnet.py 2024-02-01 17:35:56 -08:00
lllyasviel
d4d794d09e add mask api 2024-02-01 17:32:13 -08:00
lllyasviel
05605ed605 Update controlnet.py 2024-02-01 17:27:20 -08:00
lllyasviel
cd1a37a71d Update controlnet.py 2024-02-01 15:41:32 -08:00
lllyasviel
784e74c5c7 remove shit 2024-02-01 15:40:26 -08:00
lllyasviel
5c4102e93e Update controlnet.py 2024-01-31 10:02:45 -08:00
lllyasviel
5d0ddde772 Revert "ui"
This reverts commit fab6fb7a44.
2024-01-30 22:17:57 -08:00
lllyasviel
fab6fb7a44 ui 2024-01-30 22:08:57 -08:00
lllyasviel
2336ec7da8 i 2024-01-30 14:40:26 -08:00
lllyasviel
ce07ae6895 i 2024-01-30 13:36:38 -08:00
lllyasviel
01dfe3ac49 inpaint ini 2024-01-30 13:15:57 -08:00
lllyasviel
7b0a202f89 ini inpaint 2024-01-30 12:53:21 -08:00
lllyasviel
8e6c36111e Update controlnet.py 2024-01-30 11:26:29 -08:00
lllyasviel
f20f6d9cc6 revision_ini 2024-01-30 10:32:54 -08:00
lllyasviel
3aafda41bb Update controlnet.py 2024-01-30 00:22:33 -08:00
lllyasviel
a1d2a31233 more api 2024-01-29 23:28:13 -08:00
lllyasviel
ea1f3ba2e4 Update controlnet.py 2024-01-29 22:10:29 -08:00
lllyasviel
b923f8be78 handle inpaint 2024-01-29 18:50:36 -08:00
lllyasviel
e1b0e81344 Update controlnet.py 2024-01-29 18:42:53 -08:00