Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
0665749b
Commit
0665749b
authored
Sep 17, 2023
by
comfyanonymous
Browse files
Move ModelSubtract and ModelAdd to advanced/model_merging
parent
d6d9b834
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
comfy_extras/nodes_model_merging.py
comfy_extras/nodes_model_merging.py
+2
-2
No files found.
comfy_extras/nodes_model_merging.py
View file @
0665749b
...
@@ -37,7 +37,7 @@ class ModelSubtract:
...
@@ -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:
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment