Kosinkadink / ComfyUI-Advanced-ControlNet

ControlNet scheduling and masking nodes with sliding context support
GNU General Public License v3.0
435 stars 43 forks source link

Fix break caused by change to ComfyUI #77

Closed harelc closed 4 months ago

harelc commented 4 months ago

ComfyUI changed such that cond["image_only_indicator"] throws a KeyError if not set. So we use the safer get()method to return a None in that case. We verified that None is treated correctly by downstream code in get_alpha inutils.py.