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
ac0758a1
Commit
ac0758a1
authored
Aug 17, 2023
by
comfyanonymous
Browse files
Fix bug with lowvram and controlnet advanced node.
parent
c28db1f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy/sample.py
comfy/sample.py
+1
-1
No files found.
comfy/sample.py
View file @
ac0758a1
...
@@ -53,7 +53,7 @@ def get_models_from_cond(cond, model_type):
...
@@ -53,7 +53,7 @@ def get_models_from_cond(cond, model_type):
def
get_additional_models
(
positive
,
negative
):
def
get_additional_models
(
positive
,
negative
):
"""loads additional models in positive and negative conditioning"""
"""loads additional models in positive and negative conditioning"""
control_nets
=
get_models_from_cond
(
positive
,
"control"
)
+
get_models_from_cond
(
negative
,
"control"
)
control_nets
=
set
(
get_models_from_cond
(
positive
,
"control"
)
+
get_models_from_cond
(
negative
,
"control"
)
)
control_models
=
[]
control_models
=
[]
for
m
in
control_nets
:
for
m
in
control_nets
:
...
...
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