mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-06 08:46:50 +08:00
code improve
This commit is contained in:
parent
e1f5085ed0
commit
2ab0cb8cf3
@ -1205,7 +1205,12 @@ class Color(ComfyTypeIO):
|
||||
|
||||
@comfytype(io_type="BOUNDING_BOX")
|
||||
class BoundingBox(ComfyTypeIO):
|
||||
Type = dict
|
||||
class BoundingBoxDict(TypedDict):
|
||||
x: int
|
||||
y: int
|
||||
width: int
|
||||
height: int
|
||||
Type = BoundingBoxDict
|
||||
|
||||
class Input(WidgetInput):
|
||||
def __init__(self, id: str, display_name: str=None, optional=False, tooltip: str=None,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user