Commit Graph

1911 Commits (58f620c921030eea0f3528d68849f7e052d44e3f)

Author SHA1 Message Date
Chenlei Hu d3b64fbdd5
Reland logs; debug (#1540)
fallback
2023-06-04 13:55:45 -04:00
lllyasviel d8551e447d
remove unnecessary/wrong judgement (#1539) 2023-06-03 17:19:48 -07:00
Chenlei Hu b0a7dc8864
Revert "Logging migration (#1537)" (#1538)
This reverts commit f7eeb481ea.
2023-06-03 19:13:16 -04:00
Chenlei Hu f7eeb481ea
Logging migration (#1537)
* 🔊 Use logger to replace print in scripts

* 🐛 Fix double handler issue
2023-06-03 18:14:56 -04:00
Chenlei Hu d091e6a45b
Add logger (#1523)
* 🔊 Add logger

* nits
2023-06-03 17:44:20 -04:00
Chenlei Hu 3994ffbe4d
🐛 Handle unrecogznied resize mode value (#1536) 2023-06-03 16:47:06 -04:00
lllyasviel 7b2bf668ee
fix post processing (#1532) 2023-06-02 20:46:26 -07:00
Chenlei Hu 591b3de809
[Reland] Extract Prepare Mask logic (#1528)
* 🔨 Extract prepare mask logic

* 🐛 return Image instead of nparray

* 🐛 rename variable so that same variable always have same type

* 🎨 nits
2023-06-02 22:18:56 -04:00
lllyasviel 3c41f1546e
Revert "Extract prepare mask logic (#1525)" (#1527)
This reverts commit d7faaa491c.
2023-06-02 18:51:41 -07:00
Chenlei Hu d7faaa491c
Extract prepare mask logic (#1525)
* 🔨 Extract prepare mask logic

* 🐛 return Image instead of nparray
2023-06-02 21:05:05 -04:00
lllyasviel 84e92d0d0e
Update external_code.py (#1524) 2023-06-02 15:51:58 -07:00
Chenlei Hu d99905418c
🔨 Extract pixel perfect calculation (#1522) 2023-06-02 18:28:44 -04:00
lllyasviel d4db708a6e
fix data range (#1521)
* fix high-res fix, 212

* fix high-res fix, 212

* fix data range
2023-06-02 14:39:17 -07:00
Chenlei Hu b3a0dad462
🔨 Add int_value on ResizeMode (#1519) 2023-06-02 17:11:07 -04:00
Chenlei Hu 8326f4d5e0
🐛 Fix typo (#1518)
* 🐛 fix typo

* 🎨 nits
2023-06-02 16:53:13 -04:00
Chenlei Hu 470bb585ab
🔥 remove unnecessary moving (#1517) 2023-06-02 16:48:03 -04:00
Chenlei Hu 3de90f95f7
🚚 Move image has mask logic out (#1516) 2023-06-02 16:36:18 -04:00
Chenlei Hu 5c3adb2356
🔥 Use esize_mode_from_value to replace value matching (#1515) 2023-06-02 16:24:03 -04:00
Chenlei Hu e298df1796
[Refactor] Move choose input image logic out of Script.process (#1513)
* 🚚 Move choose input image load out of Script.process

* Deprecate first 2 branches
2023-06-02 16:17:19 -04:00
lllyasviel debb1c88ce
fix high-res fix, 212 (#1512)
* fix high-res fix, 212

* fix high-res fix, 212
2023-06-02 11:51:45 -07:00
lllyasviel faee7cf2f5
Change to default multi control (#1511) 2023-06-02 11:40:51 -07:00
Chenlei Hu 8004669cb0
🔨 Convert methods that do not access member data to static methods (#1510) 2023-06-02 14:28:02 -04:00
lllyasviel bdcd34d21b
Update controlnet_version.py (#1509) 2023-06-02 08:08:58 -07:00
Chenlei Hu a8387bddfb
🚚 Rename ui/ as controlnet_ui/ (#1508) 2023-06-02 10:49:26 -04:00
lllyasviel 1cb5620a53
fix medvram (#1507) 2023-06-02 07:45:05 -07:00
lllyasviel e78d486ce0
fix medvram (#1503)
* fix inpaint distortion outside gradio preview

* fix medvram
2023-06-01 20:07:14 -07:00
lllyasviel 4da6da05e5
fix inpaint distortion outside gradio preview (#1502) 2023-06-01 19:25:21 -07:00
Chenlei Hu 4f0f26b7c6
Cleanup unused functions (#1491)
* nits

* nits
2023-06-01 11:38:57 -04:00
lllyasviel d97f1d73c8
begin to support inpaint variation model in inpaint controlnet (#1494)
* fix outpaint eating boder pixels

* begin to support inpaint variation model in inpaint controlnet

* Update hook.py
2023-06-01 04:00:07 -07:00
lllyasviel ae5ca103be
fix outpaint eating boder pixels (#1493) 2023-06-01 03:13:16 -07:00
Chenlei Hu c8043ae2e2
📝 patch 1.1.206 (#1490) 2023-05-31 22:23:36 -04:00
Chenlei Hu 624ec956f3
[Refactor] Move controlnet.Script.uigroup out as ui.controlnet_ui_group (#1475)
* 🚚 Move controlnet.Script.uigroup out.

* 🚚 rename uigroup

* explicitly declare fields

* 🐛 nits

* 🔥 remove unused imports

* reload utils

* reload utils

* 🚚 Move get_module_basename to global_state

* Update scripts/controlnet.py

---------

Co-authored-by: ljleb <lebel.louisjacob@gmail.com>
2023-05-31 22:22:40 -04:00
lllyasviel 904e97b605
outpaint shortcut (#1486) 2023-05-31 15:51:07 -07:00
lllyasviel 7b707dc1f0
Update controlnet_version.py (#1471) 2023-05-30 02:50:33 -07:00
Alexander Brown c3840a0029
Add classes/ids to some controls for styling (#1449)
* Add classes/ids to some controls for styling

* Change info/label for Loopback

* Replace id with class

* Add classes for the weight/steps section

* Update controlnet.py

* Add some classes to style the upper controls

* Undo label/info change for Loopback
2023-05-30 02:47:31 -07:00
lllyasviel 2d97323a6d
fix 1468 (#1470) 2023-05-30 02:12:24 -07:00
lllyasviel 09cb9a32d1
fix small misalignment with a1111 1.3.0 (#1460)
* fix small misalignment with a1111 1.3.0

* fix small misalignment with a1111 1.3.0
2023-05-29 03:35:44 -07:00
lllyasviel 2e0dc37d22
better inpaint (#1455)
* better inpaint

* better inpaint

* better inpaint

* better inpaint

* better inpaint

* better inpaint

* better inpaint
2023-05-28 04:53:51 -07:00
lllyasviel cdba83b6e1
better hash (#1446) 2023-05-26 21:08:50 -07:00
lllyasviel 56e8236704
vae cache for tiled diffusion (#1445)
* version

* vae cache for tiled diffusion
2023-05-26 20:48:54 -07:00
lllyasviel f4882dc62c
version (#1444) 2023-05-26 19:55:27 -07:00
lllyasviel dc2d913163
Update controlnet_version.py (#1443) 2023-05-26 19:44:42 -07:00
lllyasviel 5fe0981be0
add inpaint_only (#1441) 2023-05-26 19:42:52 -07:00
S-Del 0d1c252cad
fix typo in controlnet.py (#1440)
mod -> mode
2023-05-26 17:10:06 -07:00
lllyasviel 4e20236f3c
add tile_colorfix+sharp (#1434) 2023-05-26 06:22:40 -07:00
lllyasviel aa3ef8215a
add tile_colorfix (#1430)
* add tile_colorfix

* add tile_colorfix

* add tile_colorfix
2023-05-25 23:54:40 -07:00
lllyasviel fdb8b00c18
fix conflict with Tiled Diffudion (#1428) 2023-05-25 22:23:02 -07:00
lllyasviel a83a260605
ui filter fix (#1424)
* ui filter fix

* ui filter fix

* ui filter fix

* ui filter fix
2023-05-25 09:20:36 -07:00
lllyasviel cb94dda767
ui filter (#1422) 2023-05-25 07:56:12 -07:00
lllyasviel a8bf0c3901
Update controlnet_version.py (#1419) 2023-05-24 18:24:50 -07:00