Merge pull request #118 from Kosinkadink/develop
Prepare for ComfyUI update that removes model_keys prop from ModelPatcher
This commit is contained in:
@@ -146,7 +146,8 @@ class SparseModelPatcher(ModelPatcher):
|
||||
|
||||
n.object_patches = self.object_patches.copy()
|
||||
n.model_options = copy.deepcopy(self.model_options)
|
||||
n.model_keys = self.model_keys
|
||||
if hasattr(n, "model_keys"):
|
||||
n.model_keys = self.model_keys
|
||||
if hasattr(n, "backup"):
|
||||
self.backup = n.backup
|
||||
if hasattr(n, "object_patches_backup"):
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "comfyui-advanced-controlnet"
|
||||
description = "Nodes for scheduling ControlNet strength across timesteps and batched latents, as well as applying custom weights and attention masks."
|
||||
version = "1.0.3"
|
||||
version = "1.0.4"
|
||||
license = "LICENSE"
|
||||
dependencies = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user