Browse Source

Move ModelSubtract and ModelAdd to advanced/model_merging

pull/1546/head
comfyanonymous 1 year ago
parent
commit
0665749b1a
  1. 4
      comfy_extras/nodes_model_merging.py

4
comfy_extras/nodes_model_merging.py

@ -37,7 +37,7 @@ class ModelSubtract:
RETURN_TYPES = ("MODEL",) RETURN_TYPES = ("MODEL",)
FUNCTION = "merge" FUNCTION = "merge"
CATEGORY = "_for_testing/model_merging" CATEGORY = "advanced/model_merging"
def merge(self, model1, model2, multiplier): def merge(self, model1, model2, multiplier):
m = model1.clone() m = model1.clone()
@ -55,7 +55,7 @@ class ModelAdd:
RETURN_TYPES = ("MODEL",) RETURN_TYPES = ("MODEL",)
FUNCTION = "merge" FUNCTION = "merge"
CATEGORY = "_for_testing/model_merging" CATEGORY = "advanced/model_merging"
def merge(self, model1, model2): def merge(self, model1, model2):
m = model1.clone() m = model1.clone()

Loading…
Cancel
Save