Commit ac0758a1 authored by comfyanonymous's avatar comfyanonymous
Browse files

Fix bug with lowvram and controlnet advanced node.

parent c28db1f3
...@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment