Update nodes.py

This commit is contained in:
kijai
2024-07-20 00:27:22 +03:00
parent 18121e97a2
commit 282c69c5f3
+1
View File
@@ -228,6 +228,7 @@ class DynamiCrafterCNLoader:
'ckpt_name': ckpt_name,
}
if not hasattr(self, 'cn_model') or self.cn_model == None or custom_config != self.current_config:
self.current_config = custom_config
model_path = folder_paths.get_full_path("controlnet", ckpt_name)
print(f"Loading ControlNet from: {model_path}")