Commit Graph

1911 Commits (58f620c921030eea0f3528d68849f7e052d44e3f)

Author SHA1 Message Date
Chenlei Hu 58f620c921
Add PuLID VRAM leak reproduction tests (#2891)
* Add PuLID detect test

* Add PuLID generation test
2024-05-14 22:15:27 -04:00
Chenlei Hu 5d7529915b
Restore unit state update listeners (#2888) 2024-05-13 21:07:50 -04:00
Sean 3b4eedd90f
Fix upscale script checking (#2881) 2024-05-11 09:05:51 -04:00
Chenlei Hu 04024b4c82
Prevent PuLID preprocessor unload. Temp Fix VRAM leak. (#2882) 2024-05-10 23:49:01 -04:00
Chenlei Hu b30f0ac4a1
Add more animatediff compatible fields (#2878) 2024-05-10 14:21:07 -04:00
Chenlei Hu 85c731070f
Accept RGBA image as input (#2877) 2024-05-10 14:18:59 -04:00
Chenlei Hu ae9528ba74
Add animatediff_batch flag on ControlNetUnit (#2874) 2024-05-10 13:48:23 -04:00
Chenlei Hu aa0a72afcf
Display effection region mask upload regardless of input mode (#2873) 2024-05-10 13:43:05 -04:00
Chenlei Hu 8d1389da5e
Add ControlNetUnit.batch_mask_dir for compatibility (#2865) 2024-05-07 17:58:48 -04:00
Chenlei Hu 084dd0107b
Fix resize mode enum values for deforum (#2861) 2024-05-07 08:04:12 -04:00
Chenlei Hu 4cb22867c2
Fix ControlNetUnit legacy field alias (#2860) 2024-05-07 07:54:35 -04:00
Chenlei Hu 6a86fdd78d
Fix duplicated version logging (#2856) 2024-05-06 16:31:37 -04:00
Chenlei Hu 80bf7481c2
Update UI image (#2855) 2024-05-06 16:00:18 -04:00
Chenlei Hu d037c2d3e1
📝 Update to version v1.1.448 (#2853) 2024-05-06 15:41:35 -04:00
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 45a49daa26
fix test (#2851) 2024-05-05 16:38:47 -04:00
Chenlei Hu abafad27fc
Drop external_code. prefix (#2850)
* Drop external_code. prefix

* Remove unused imports
2024-05-05 11:06:15 -04:00
Chenlei Hu 2c59fec402
Quickfix Enum Issue 2 (#2849) 2024-05-05 10:07:04 -04:00
Chenlei Hu 86288def48
Remove legacy test (#2846) 2024-05-04 20:09:18 -04:00
Chenlei Hu ef65fec031
Move enum (#2845)
* Move enums to enums.py

* Add missing import

* Remove unused import
2024-05-04 17:56:51 -04:00
Chenlei Hu 2a28f089da
Quick fix enum issue (#2844) 2024-05-04 17:13:43 -04:00
Chenlei Hu d702830f1f
Allow pulid accept multiple inputs (#2843) 2024-05-04 16:10:05 -04:00
Chenlei Hu 3d75bd08e3
📝 Update to version v1.1.447 (#2842)
* 📝 Update to version v1.1.447

* update readme
2024-05-04 12:29:05 -04:00
Chenlei Hu 784b6d01a7
Support PuLID (#2838)
* Add preprocessors

* Fix resolution param

* Fix various issues

* Add PuLID attn

* remove unused import

* Resize img before passing to facexlib

* safe unload
2024-05-04 12:25:00 -04:00
Chenlei Hu 36a310f599
Fix blur_gaussian slider param (#2834) 2024-05-02 12:01:02 -04:00
Chenlei Hu e90491ad25
📝 Update to version v1.1.446 (#2832)
* 📝 Update to version v1.1.446

* update readme
2024-04-30 23:05:06 -04:00
Chenlei Hu 6258103152
Replace mask upload with effective region mask (#2830) 2024-04-30 23:01:54 -04:00
Chenlei Hu 960e93079d
Use A1111's ToolButton impl (#2820)
* Use A1111's ToolButton impl

* Use FormHTML
2024-04-27 21:36:10 -04:00
Chenlei Hu f596474d11
Change test target to A1111 1.9.3 (#2819) 2024-04-27 17:49:12 -04:00
Chenlei Hu 7b4571e20b
Add effective_region_mask for ControlNet [API] (#2818)
* Add control model type check

* Implement region mask for ControlNet
2024-04-27 17:05:28 -04:00
青龍聖者@bdsqlsz aa3e2055d0
Update README.md (#2817) 2024-04-27 22:12:58 +08:00
Chenlei Hu ad66a98467
Add warning on unrecognized param (#2815) 2024-04-27 00:43:24 -04:00
Chenlei Hu 3e95f393b8
Keep active preprocessor models (#2814) 2024-04-27 00:39:16 -04:00
Chenlei Hu cb8fd242b1
Add effective_region_mask for ipadapter [API] (#2785)
* Add effective_region_mask for ipadapter [API]

* Fix various issues & Add tests

* nit
2024-04-26 23:24:23 -04:00
Chenlei Hu b2284af526
Fix xyz script module check (#2810) 2024-04-25 15:45:04 -04:00
Chenlei Hu 22f63dc2dc
Support lama inpaint and CLIP mask in `controlnet/detect` API endpoint (#2809)
* api

* notes

* Add tests

* nit

* nit

* nit

* Fix shuffle
2024-04-25 08:50:03 -04:00
Chenlei Hu 07c2417ec0
Fix expected status code (#2808) 2024-04-24 22:28:13 -04:00
Chenlei Hu f7707d8ff5
Fix detect test for non-image return values (#2807)
* Handle tensor output from detect/ endpoint

* nit
2024-04-24 22:04:05 -04:00
Chenlei Hu f988edcb95
Add control types test (#2805) 2024-04-24 17:20:57 -04:00
Chenlei Hu f1b536ecf0
Fix canny greyscale (#2804) 2024-04-24 17:07:26 -04:00
missionfloyd 281c7154f2
Display control type filter as dropdown (#2801)
* Add option to display control type as a dropdown

* Fix tab active control type

* nits

---------

Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2024-04-24 16:45:50 -04:00
Chenlei Hu f0a94cb2c4
Restore various control type changes (#2799)
* Merge sketch tag into scribble

* Marge blur tag into tile
2024-04-23 11:32:41 -04:00
Chenlei Hu c3e5fd4c1b
Fix control type infer in preset panel (#2792) 2024-04-22 17:41:10 -04:00
Chenlei Hu 471f564651
Add preset ip-adapter_sd15_plus (#2789) 2024-04-22 10:34:29 -04:00
Chenlei Hu 4c27886b94
Fix API parsing of ipadapter_input (#2788) 2024-04-22 10:13:13 -04:00
Chenlei Hu b4b5bfefb0
Update README.md (#2782) 2024-04-21 16:51:20 -04:00
Chenlei Hu 675afca99e
Add News section in README.md (#2780) 2024-04-21 16:40:22 -04:00
Chenlei Hu d22ab8a371
Add ipadapter composition presets (#2779) 2024-04-21 16:23:35 -04:00
Chenlei Hu 59d5998823
📝 Update to version v1.1.445 (#2769) 2024-04-20 01:15:17 -04:00