This commit is contained in:
wl-zhao
2024-10-22 15:33:04 +08:00
parent bf8f352347
commit b3042fdf6f
+2 -1
View File
@@ -114,7 +114,8 @@ def resolve_dependencies(prompt, custom_dependencies): # resolve custom nodes an
if node_class_type is None:
raise NotImplementedError(f"Missing nodes founded, please first install the missing nodes using ComfyUI Manager")
node_cls = NODE_CLASS_MAPPINGS[node_class_type]
if hasattr(node_cls, "RELATIVE_PYTHON_MODULE"):
if hasattr(node_cls, "RELATIVE_PYTHON_MODULE") and node_cls.RELATIVE_PYTHON_MODULE.startswith("custom_nodes."):
print(node_cls.RELATIVE_PYTHON_MODULE)
custom_nodes.append(node_cls.RELATIVE_PYTHON_MODULE)
if node_class_type in model_loaders_info:
for field_name, filename in node_info["inputs"].items():