Commit Graph

15 Commits (8bbbd0e55ef6e5d71b09c2de2727b36e7bc825b0)

Author SHA1 Message Date
Chenlei Hu bb3c2a9bf7
Lift ipadapter api input type constraint (#2945) 2024-06-04 21:37:51 -04:00
Chenlei Hu c91dbe5c3b
Fix args initializer (#2938) 2024-05-28 17:16:05 -04:00
Chenlei Hu 97c8598c8b
More robust ipadapter detection (#2936)
* More robust ipadapter detection

* Remove dep
2024-05-27 11:26:28 -04:00
zappityzap ba3984a022
Add batch_keyframe_idx on ControlNetUnit (#2926)
batch_keyframe_idx is needed by AnimateDiff for SparseCtrl
2024-05-23 08:54:13 -04:00
Chenlei Hu 59c43499ea
Revert "Set default value of ControlNetUnit.enabled to True (#2912)" (#2919)
This reverts commit a5457dcc1c.
2024-05-20 12:32:08 -04:00
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