1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Add error message on union controlnet (#4081)

This commit is contained in:
Chenlei Hu
2024-07-22 11:27:32 -04:00
committed by GitHub
parent 6045ed31f8
commit 4151fbfa8a
3 changed files with 25 additions and 11 deletions

View File

@@ -1,14 +1,4 @@
UNION_CONTROLNET_TYPES = {"auto": -1,
"openpose": 0,
"depth": 1,
"hed/pidi/scribble/ted": 2,
"canny/lineart/anime_lineart/mlsd": 3,
"normal": 4,
"segment": 5,
"tile": 6,
"repaint": 7,
}
from comfy.cldm.control_types import UNION_CONTROLNET_TYPES
class SetUnionControlNetType:
@classmethod