sd-webui-controlnet/javascript
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
..
active_units.js Validate ControlNetUnit using pydantic (#2847) 2024-05-06 15:40:34 -04:00
canvas.js Fix zoom and mask brush color customizable (#1970) 2023-08-24 14:37:59 -07:00
modal.js 🐛 Make js code run in closure (#1754) 2023-07-03 15:14:28 -04:00
openpose_editor.js 🔧 Delay openpose editor availability test (#2412) 2024-01-05 11:35:24 -05:00
photopea.js alternative photopea popup warning (#2417) 2024-01-06 09:18:29 -05:00