Commit Graph

1119 Commits (2b44ac8d6b3f022bf67f3d00a5a446caf9d73228)

Author SHA1 Message Date
Chenlei Hu 7247119255
Hand refiner preprocessor (#2394)
* Add hand refiner submodule

* Add depth_hand_refiner reprocessor

* Install script for hand refiner dependenceis

* Sync submodules

* Format

* Support cpu

* Handle unload module

* 🐛 Fix name conflict
2024-01-03 21:33:14 -05:00
Chenlei Hu 8bd8057cca
🐛 Fix hr_option parsing (#2398) 2024-01-03 08:50:57 -05:00
Chenlei Hu 9b6a2a0ba8
🐛 Assign default value for hr_option (#2392) 2024-01-02 08:46:14 -05:00
Chenlei Hu bd23a0ecb6
🔧 Lazy load photopea editor (#2386) 2024-01-01 21:10:50 -05:00
Chenlei Hu d47536ff27
🔧 Add option to disable photopea quick edit (#2385) 2024-01-01 20:36:03 -05:00
Chenlei Hu ce3cb3de8b
🐛 Replace 3.10 match statement (#2383) 2024-01-01 14:37:30 -05:00
Chenlei Hu 73f5319720
📝 Update to version v1.1.426 (#2380) 2024-01-01 00:08:45 -05:00
Chenlei Hu 7aaf263208
Add hr_option (Both, High res only, Low res only) (#2379)
*  Add hr_option

🎨 Only show when relevant

 Add unit test

* 🐛 fix per-unit
2024-01-01 00:06:55 -05:00
Chenlei Hu 0c0eb6b317
Control inpaint crop per ControlNet unit (#2377)
*  Control inpaint crop per ControlNet unit

* nits
2023-12-31 18:27:20 -05:00
Chenlei Hu cd0d5870f4
🔊 Add tracemalloc to track memory usage (#2373) 2023-12-30 23:31:58 -05:00
Chenlei Hu 218f075023
🐛 Raise error when using revision on non-SDXL models (#2372) 2023-12-30 21:07:14 -05:00
Chenlei Hu 74f3749fb4
📝 Update to version v1.1.425 (#2370) 2023-12-30 17:54:53 -05:00
Chenlei Hu a23dbfc0b1
Quick edit of preprocessor result with photopea (#2346)
* ui

* display modal

* add fetch from controlnet feature

* fix pasting issue

* name layers

* Add send to controlnet button

* 🎨 Fix button styles

* 🔨 refactor

* wip

* 🚧 correctly write output

* 🚧 auto fetch and auto close

* 🚧 create black background of given size
2023-12-30 17:54:42 -05:00
Chenlei Hu 11019f4820
Support advanced_weighting in API (#2368)
*  Support advanced_weighting in API

* 📝 add note

* 🐛 nits

* 📝 Add examples
2023-12-30 17:35:52 -05:00
Chenlei Hu 50ddf1da96
🎨 Hide loopback checkbox in non-batch config (#2366)
* 🎨 Hide loopback checkbox in non-batch tab

* 🐛 Fix hide logic
2023-12-29 16:20:55 -05:00
Chenlei Hu dc0d590faf
🔧 Add option to bypass input image crop (#2365) 2023-12-28 15:29:06 -05:00
liubo0902 b7a9bea231
fix image invert detect (#2356)
* fix image invert detect

*  Add unittest

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-12-24 21:31:51 -05:00
Chenlei Hu 4ceb6e8a4b
📝 Update to version v1.1.424 (#2350) 2023-12-23 15:57:00 -05:00
青龍聖者@bdsqlsz 79948d8c29
Add Animal Pose Preprocessor (RTMPose AP-10K) (#2293)
* add support for animal pose

* Update __init__.py

* fix typo

* flatten json result list

* format files

* remove unused functions

* 🚧 Support edit

* nits

* fix test expecetations

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-12-23 15:55:21 -05:00
Chenlei Hu eb302e9602
🐛 Fix dtype issue in IPAdapter for MacOS (#2348) 2023-12-23 15:42:44 -05:00
Chenlei Hu 102449bf16
📝 Update to version v1.1.423 (#2337) 2023-12-16 00:01:51 -05:00
Chenlei Hu 0b713ca5a5
🔧 Detect ControlNet lora for SD15 (#2336) 2023-12-15 23:57:49 -05:00
Chenlei Hu 27c78e3fec
🐛 Set default model/module to string values (#2335) 2023-12-15 21:54:16 -05:00
Chenlei Hu a13bd2febe
Add render_openposes_json API endpoint (#2325)
* Add render_openpose_json API endpoint

* nits
2023-12-12 22:07:52 -05:00
lllyasviel cda3473d10
fix some potential problems 2023-12-07 10:42:17 -08:00
lllyasviel 96dbc601a6
fix model unload (#2301)
fix model unload
2023-12-06 21:07:37 -08:00
lllyasviel a6edc5d97b
allow not using any unit (#2300) 2023-12-06 20:48:41 -08:00
lllyasviel 47dfefa54f
StyleAlign (#2294)
StyleAlign
2023-12-06 06:49:05 -08:00
Chenlei Hu 10bd9b25f6
Add anime_face_segment (#2279)
Update __init__.py

update add aliases

Update global_state.py

fix typo

fix typo2

Update __init__.py

Update __init__.py

Update __init__.py

Update __init__.py

Update __init__.py

Update __init__.py

Update __init__.py

Update __init__.py

RGB2BGR

fix for device

fix for special resolution

Co-authored-by: 青龍聖者@bdsqlsz <qinglongshengzhe@gmail.com>
2023-11-21 22:43:55 -05:00
Chenlei Hu aa4747ab5f
📝 Update to version v1.1.419 (#2275) 2023-11-20 21:59:52 -05:00
Chenlei Hu 7a199fe4a2
Add JSON pose file upload button (#2274)
* 🚧 Backend work

* 🚧 render pose

* 🚧 various fixes

* 🎨 Update readme image
2023-11-20 21:58:39 -05:00
Chenlei Hu 0efcf8c993
🐛 Handle None controlnet model in version check (#2272) 2023-11-19 23:51:39 -05:00
Chenlei Hu 640cc6ab6d
📝 Update to version v1.1.418 (#2269) 2023-11-19 23:17:44 -05:00
Chenlei Hu ff5188edb5
🔥 Remove gradio version check (#2271) 2023-11-19 22:56:45 -05:00
Chenlei Hu e2e6a1b494
🔊 Meaningful error message for sd version conflict (#2268)
* 🚚 Move enums

* 🔊 Meaningful error message for sd version conflict
2023-11-19 21:49:14 -05:00
Chenlei Hu 45eb903538
Filter cn model by sd version active (#2267) 2023-11-19 17:49:46 -05:00
Chenlei Hu eac4f4b28e
🔥 Remove disable_control_type option (#2266)
* 🔥 Remove disable_control_type option

* 🔥 remove type_filter check

* assert not none
2023-11-19 15:35:17 -05:00
Chenlei Hu c1f3d6f850
📝 Update to version v1.1.417 (#2257) 2023-11-12 22:05:46 -05:00
青龍聖者@bdsqlsz 711203e88e
Add support for IP Adapter Full Face (#2252)
* Add support for IP Adapter Full Face

*  Add unittests

* nits

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-11-12 21:53:17 -05:00
Chenlei Hu 9e61022428
🔧 Support SDXL in tests (#2254)
* 🔧 Support SDXL in tests

* 📝 docs

* nits
2023-11-12 14:12:54 -05:00
Chenlei Hu 457da74dc7
Add new API option send_detected_map (#2251) 2023-11-11 19:06:06 -05:00
lllyasviel 05ef0b1cd1
safetensor ipadapters (#2241) 2023-11-06 22:05:28 -08:00
catboxanon 3b1fd43221
Migrate tooltips to Gradio (#1993) 2023-11-04 22:32:18 -04:00
AngelBottomless e3a4d70a19
handle control_param is None case when accessing it (#2215)
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-11-04 19:24:21 -04:00
Chenlei Hu 5037f5cbee
🔊 Reduce debug log duration precision (#2223) 2023-11-04 17:03:30 -04:00
lllyasviel 3011ff6e70
support all recent ip-adapters
support all recent ip-adapters
2023-10-31 19:49:08 -07:00
MitPitt 150d6f140d
increase possible model cache size (#2186)
no reason not to have this
2023-10-23 13:56:12 -04:00
Chenlei Hu a43e574254
Fix control type in preset (#2179) 2023-10-15 11:49:04 -04:00
missionfloyd df0788b819
Don't show progress for UI actions (#2163) 2023-10-14 22:07:21 -04:00
missionfloyd 99834020a3
Fix openpose edit button style (#2162)
* Fix openpose edit button style

* Fix edit button with editor installed
2023-10-14 22:01:06 -04:00
Chenlei Hu c941954675
📝 v1.1.411 (#2178) 2023-10-14 21:50:15 -04:00
Chenlei Hu 7a4805c8ea
Fix debug loglevel (#2139) 2023-09-22 14:13:48 -04:00
lllyasviel e67e017731
fix lllite (#2102)
* fix lllite

* fix lllite

* fix lllite

* fix lllite
2023-09-11 00:56:10 -07:00
catboxanon bd6bc48629
Fix missing typing for `List` 2023-09-09 10:34:08 -04:00
lllyasviel e4fbb1b3e3
add models (#2085)
* add blur

* t2ia

* t2ia
2023-09-08 21:05:09 -07:00
lllyasviel 2b12b2760d
Update global_state.py (#2079) 2023-09-07 01:36:37 -07:00
lllyasviel 56d575e8dd
fix tiled vae (#2074) 2023-09-06 12:24:48 -07:00
lllyasviel 7c20c5d748
fix tiled vae (#2073)
* fix tiled vae

* fix tiled vae
2023-09-06 12:18:02 -07:00
lllyasviel f77c5eb5fa
fix ipadapter-plus (#2065) 2023-09-05 21:35:10 -07:00
lllyasviel 1976cb2837
fix log (#2063) 2023-09-05 19:14:19 -07:00
lllyasviel e965ccf4f9
fix ipadapter highres fix (#2060) 2023-09-05 17:38:06 -07:00
lllyasviel c03c05e2d7
revision (#2058) 2023-09-05 12:53:09 -07:00
lllyasviel 5f41c72b3e
fix revison (#2057) 2023-09-05 11:36:47 -07:00
lllyasviel e6ac9bad01
Update hook.py (#2056) 2023-09-05 10:49:39 -07:00
lllyasviel 2dae96e538
revision fix (#2055)
* revision image blending

* revision fix
2023-09-05 10:33:33 -07:00
lllyasviel 1084c6da50
Update hook.py (#2054) 2023-09-05 10:18:33 -07:00
lllyasviel b514aa19be
revision image blending (#2052) 2023-09-05 10:02:33 -07:00
lllyasviel 876667f4d6
fix refiner (#2042) 2023-09-04 14:59:19 -07:00
lvmin eeb5361135 change log 2023-09-04 13:37:08 -07:00
lllyasviel 1d5402326d
sdxl support (for SAI/HuggingFace/diffuser/community models) (#1952)
sdxl support (for SAI/HuggingFace/diffuser/community models)
1.1.400
2023-09-04 10:41:42 -07:00
Chenlei Hu 664ac74cae
Relands #2033 (#2038)
* 🎨 re-format api.py

* Add pose json to api response

* Simplify response format

* fix
2023-09-04 09:06:46 -04:00
lllyasviel 7bdcb9079a Revert "Add openpose json to API response (#2033)"
This reverts commit e2cd3b91a8.
2023-09-04 05:38:19 -07:00
Chenlei Hu e2cd3b91a8
Add openpose json to API response (#2033)
* 🎨 re-format api.py

* Add pose json to api response

* Simplify response format
2023-09-03 17:33:05 -04:00
lllyasviel c3b32f2543
fix gradio (#2013) 2023-08-31 02:22:10 -07:00
lvmin 4085421694 fix zoe 2023-08-28 05:50:32 -07:00
Chenlei Hu 510bd66e3a
Add reset button for preset (#1999)
* Add reset preset button

* fix processor param compare

* fix reset button vis after reset

* nits

* Do not attach listener on image component

* WIP

* faster load

* nits
2023-08-27 19:02:56 -04:00
Chenlei Hu eacfe995cf
Revert "Add reset preset button (#1986)" (#1989)
This reverts commit d5137f063e.
2023-08-26 00:54:40 -04:00
Chenlei Hu d5137f063e
Add reset preset button (#1986)
* Add reset preset button

* fix processor param compare

* fix reset button vis after reset

* nits
2023-08-25 22:29:29 -04:00
Chenlei Hu bbabb39c6a
🐛 Fix preset application (#1985) 2023-08-25 12:24:03 -04:00
Chenlei Hu 18bbe35e63
Update control type in preset (#1980) 2023-08-25 00:50:43 -04:00
Chenlei Hu cc2cfc0fb7
v1.1.312 (#1978) 2023-08-24 23:32:00 -04:00
Chenlei Hu 6dc7b4f14d
[New Feature] ControlNet unit preset management (#1974)
* WIP preset

* basic func done

* Add refresh button

* fix active units

* fix hint issue
2023-08-24 23:30:22 -04:00
w-e-w b875b847a4
Fix zoom and mask brush color customizable (#1970)
* make mask brush color customizable

* make zoom work with single CN module

* webui < 1.6 compatibility

* explicitly checks for applyZoomAndPan

* Update canvas.js

* Update canvas.js

---------

Co-authored-by: lllyasviel <lyuminzhang@outlook.com>
2023-08-24 14:37:59 -07:00
Chenlei Hu de868abdf2
Copy gr.update dict (#1969) 2023-08-24 11:02:19 -04:00
Chenlei Hu 24bb7c572f
No blocking generation on infotext failure (#1968) 2023-08-24 09:11:03 -04:00
lllyasviel e2b3fbd2ee
integrated canvas zoom (#1961)
* shorter message

* fix preview as input for img2img indepent img

* integrated canvas zoom

* Update controlnet_version.py
2023-08-23 22:31:17 -07:00
Chenlei Hu 24dcdbb4d4
v1.1.310 (#1959) 2023-08-23 22:28:47 -04:00
catboxanon cde4619c5d
Repair ControlNet infotext parsing (#1833)
* Repair infotext parsing

🚧 Listen png info buttons

WIP

New infotext format

nits

nits

nits

rebase

refactor active unit counts

* nits

* nit

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-08-23 22:27:34 -04:00
lllyasviel eeec9d8d6d
fix preview as input for img2img indepent img (#1958)
* shorter message

* fix preview as input for img2img indepent img
2023-08-23 18:47:08 -07:00
lllyasviel a0ba36bba5
shorter message (#1957) 2023-08-23 18:39:54 -07:00
lllyasviel 7140c7f9a9
simplify img2img ui (#1956)
* fix gradio problem

* fix gradio problem

* simplify img2img ui

* simplify img2img ui
2023-08-23 18:15:17 -07:00
lllyasviel 943197e1be
fix gradio problem (#1948)
* fix gradio problem

* fix gradio problem
2023-08-22 03:30:37 -07:00
lllyasviel 36b3cfb097
smart preview management, remove preview as inputs (#1944)
* smart preview management, remove preview as inputs

* smart preview management, remove preview as inputs
2023-08-22 01:27:18 -07:00
lvmin e62411ddf1 fix some other gradio problem in a1111 1.6.x 2023-08-22 00:51:13 -07:00
lvmin 1d4e58ffce fix some other gradio problem in a1111 1.6.x 2023-08-22 00:50:27 -07:00
lvmin 5561b6c945 fix silly gradio problem in a1111 1.6.x 2023-08-22 00:35:46 -07:00
lvmin bdc426581c remove annoying i2i preview 2023-08-22 00:25:23 -07:00
lvmin 80a5bb992e fix cond cache problem for a1111 1.6.x 2023-08-22 00:11:51 -07:00
lvmin 87cf850c74 I am back 2023-08-21 23:46:02 -07:00
Chenlei Hu 47465817ef
📝 v1.1.238 (#1916) 2023-08-13 18:28:32 -04:00