Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information