Commit Graph

68 Commits (2b44ac8d6b3f022bf67f3d00a5a446caf9d73228)

Author SHA1 Message Date
Chenlei Hu e5adb1697d
Add depth_anything (#2544)
*  Add depth_anything

* Fix various issues

* Add tests
2024-01-22 16:14:26 -05:00
Chenlei Hu 25e41dc63b
Real multi-inputs ControlNet unit (#2539)
* real multi-inputs

* add tests

* nit

* 🐛 Fix negative prompt issue
2024-01-22 02:27:37 -05:00
Chenlei Hu a79661e0db
🚚 Move inpaint crop logic as a function (#2534)
* Add tests

* 🔨 Extract crop logic
2024-01-21 19:00:28 -05:00
Chenlei Hu 5fde5430de
Support IP-Adapter faceid portrait (#2529)
* Add ip adapter tests

* Refactor faceid

* support portrait

*  more testing
2024-01-21 12:03:43 -05:00
Chenlei Hu 8870e35682
🐛 Fix outpaint 2 (#2485)
* 🐛 Fix outpaint

* 🐛 Fix lama outpaint
2024-01-16 12:36:04 -05:00
Chenlei Hu af9c3cdb9c
🔨 Refactor choose_input_image logic (#2468)
*  Add inpaint full cov tests

* More tests

* 🔨 Refactor choose input image logic

*  Update unittest expectation

* nits
2024-01-14 18:58:39 -05:00
Chenlei Hu 8bd8057cca
🐛 Fix hr_option parsing (#2398) 2024-01-03 08:50:57 -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 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
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
青龍聖者@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 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
Chenlei Hu 54dfb899d5
Ignore unrecognized params (#2313) 2023-12-09 23:17:03 -05:00
Chenlei Hu 0efcf8c993
🐛 Handle None controlnet model in version check (#2272) 2023-11-19 23:51:39 -05:00
Chenlei Hu aa26871b42
More tests on SDXL models (#2264) 2023-11-18 17:48:56 -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 f14653a10e
Verify nunber of response images (#2255) 2023-11-12 19:56:50 -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
Chenlei Hu 27c522029e
Fix CI tests (#2220)
* 🔧 setup CI

* 🐛 Fix path

* cd

* set working dir

* fix openpose tests

* Fix web_api tests

* Fix batch hijack tests

* change coverage dir

* 📝 Add doc
2023-11-04 00:48:22 -04:00
Abdullah Alfaraj b4cdd10283
[API]: expose the filter functionality to api (#1667)
* [API]: expose the filter functionality to the api

* add basic unit_test for the filter api endpoint

* rename filter_list to filter

* 🚧 Return all filters throught API call

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-07-17 23:38:50 -04:00
Chenlei Hu 16805be062
[Reland] 🔨 Refactor bound check for threshold and resolution (#1675)
* 🔨 Refactor bound check for threshold and resolution (#1668)

* 🔨 Refactor bound check for threshold and resolution

* nits

* 🐛 Fix bound check. Add more unittest.

* Fix param value used in logs
2023-06-22 21:38:12 -04:00
lllyasviel f58807c5f1 Revert "🔨 Refactor bound check for threshold and resolution (#1668)"
This reverts commit 2d5785b43f.
2023-06-22 03:02:45 -07:00
Chenlei Hu 2d5785b43f
🔨 Refactor bound check for threshold and resolution (#1668)
* 🔨 Refactor bound check for threshold and resolution

* nits
2023-06-21 22:05:00 -04:00
lvmin 0cf1c97815 Merge branch 'main' of https://github.com/zombieyang/sd-webui-controlnet into zombieyang-main 2023-05-06 11:03:49 -07:00
unknown 74b32affa5 add modules detail test 2023-05-06 23:49:22 +08:00
ljleb 4abbf4d125 less changes 2023-05-05 14:50:52 -04:00
ljleb ab83f84c6b attempt to fix test 2023-05-05 14:40:14 -04:00
ljleb a03b2f8a68 remove old enpoint test 2023-05-05 14:20:06 -04:00
ljleb c4dea407eb guessmode -> control_mode 2023-05-05 14:10:40 -04:00
ljleb 274645d0c7 merge 'main' into this branch 2023-05-05 14:05:38 -04:00
ljleb c5ea2f7027 add back main just to be sure 2023-05-05 12:32:48 -04:00
ljleb 31c52c8244 remove flat args 2023-05-05 12:28:26 -04:00
ramyma 5d387abf19
fix: Raise 500 exception instead of returning an error on `detect` API call (#863)
fix: Raise 422 exception instead of returning an error on `detect` API call
2023-05-03 22:03:32 -04:00
lvmin 0a4589e373 better codes, version flag 2023-05-03 00:42:49 -07:00
lllyasviel f20d0fa396
assert we have really tested preprocessors 2023-05-02 15:47:52 -07:00
huchenlei 47b7bafa83 Only test depth and openpose_full preprocessor 2023-05-02 17:58:03 -04:00
huchenlei 1a54ad4ffa 🐛 Exclude clip_vision preprocessor 2023-05-02 17:50:13 -04:00
huchenlei 0f915bf983 Add txt2img test with preprocessors 2023-05-02 17:50:13 -04:00
lvmin e7c264bf50 try fix github test 2023-04-26 20:51:46 -07:00
ljleb 0342759629
ignore extra args from api and fix param count (#1013)
* fix api

* automatic param count

* add new control param in tests

* add new control param in tests
2023-04-24 01:08:43 -04:00
ljleb 07ef8a750a
Multi-ControlNet Batch (#683)
* add back preprocessor

* reload imports for people that update without restarting webui

* remeove img2img tab tracker (replaced by batch hijack)

* batch hijack script

* update gradio ui

* new options (used by batch hijack)

* demeter violation

* clear detected_map

* bug fixes, boys scout and whitespace

* demeter (tests)

* batch tests

* fix alwayson script args in api tests

* extract cn unit image type

* update instead of buggy set

* update readme

* carousel -> gallerie output

* fix index in unit batch iterator

* fix hook unregistering all callbacks

* dont modify hook

* fix non-cn batch

* fix responsiveness

* dont need queue here

* state no change

* readme

* name

* fix ui, bump version

* loopback less important

* interrupt batch if no input image

* keep batch mode in sync

* typo
2023-04-23 16:35:31 -04:00
lvmin 2c71749d82 see if pass test, 5th attempt 2023-04-20 02:04:19 -07:00
lvmin 33be4f47af see if pass test, 4th attempt 2023-04-20 00:31:08 -07:00
lvmin 4ba62a6470 see if pass test, 2nd attempt 2023-04-19 23:49:52 -07:00
lvmin c07a140cdd use text consistent to a1111 resizing 2023-04-18 00:56:21 -07:00
lvmin 42158b1b43 major update - ControlNet 1.1 GUI 2023-04-17 16:53:20 -07:00
lvmin 7a1eacc92e low vram vs shuffle 2023-04-15 20:07:32 -07:00