Commit Graph

10 Commits (a5457dcc1c952a400b84a2ab90eade47c0d7fed7)

Author SHA1 Message Date
Chenlei Hu a5457dcc1c
Set default value of ControlNetUnit.enabled to True (#2912) 2024-05-19 21:22:14 -04:00
Chenlei Hu b197f7cc41
Fix ControlNetUnit copy issue (#2910)
* Fix ControlNetUnit copy issue

* Add copy test
2024-05-19 20:41:24 -04:00
Chenlei Hu 681de2c4f0
Fix PuLID VRAM leak (#2902) 2024-05-18 22:48:29 -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 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 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