Commit Graph

9 Commits (8a8a42e4168c7edf89ff7030232f87ae3ee56b8b)

Author SHA1 Message Date
Chenlei Hu e33c046158
Validate ControlNetUnit using pydantic (#2847)
* Add Pydantic ControlNetUnit

Add test config

Add images field

Adjust image field handling

fix various ui

Fix most UI issues

accept greyscale image/mask

Fix infotext

Fix preset

Fix infotext

nit

Move infotext parsing test

Remove preset

Remove unused js code

Adjust test payload

By default disable unit

refresh enum usage

Align resize mode

change test func name

remove unused import

nit

Change default handling

Skip bound check when not enabled

Fix batch

Various batch fix

Disable batch hijack test

adjust test

fix test expectations

Fix unit copy

nit

Fix test failures

* Change script args back to ControlNetUnit for compatibility

* import enum for compatibility

* Fix unit test

* simplify unfold

* Add test coverage

* handle directly set np image

* re-enable batch test

* Add back canvas scribble support

* nit

* Fix batch hijack test
2024-05-06 15:40:34 -04:00
Chenlei Hu 1b95e476ec
Adjust test template's threshold a/b value (#2852) 2024-05-05 19:15:39 -04:00
Chenlei Hu a773a1a816
Real multi-inputs for all IP-Adapters (#2594)
* Add adapter tests

* real multi inputs

* multi-inputs

* Fix hook

* Use real multi for instant id
2024-01-28 12:44:40 -05:00
Chenlei Hu 14ab5e4ff6
Revert " Real multi-inputs unit" (#2583) 2024-01-25 08:52:10 -05:00
Chenlei Hu 6a1d882e89
Real multi-inputs unit (#2578)
* Add adapter tests

* real multi inputs
2024-01-24 20:19:11 -05:00
Chenlei Hu 482288e5bf
Update ipadapter tests to test negative prompt (#2570) 2024-01-23 19:14:20 -05:00
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 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 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