diff --git a/TODO.md b/TODO.md index 1945413ef..81f34ab89 100644 --- a/TODO.md +++ b/TODO.md @@ -5,7 +5,6 @@ Main ToDo list can be found at [GitHub projects](https://github.com/users/vladma ## Candidates for next release - diffusers public callbacks -- multi-ipadapter: - control second pass: - image2video: pia and vgen pipelines - video2video diff --git a/modules/ipadapter.py b/modules/ipadapter.py index 1564ca9c6..00bc714c8 100644 --- a/modules/ipadapter.py +++ b/modules/ipadapter.py @@ -87,7 +87,7 @@ def apply(pipe, p: processing.StableDiffusionProcessing, adapter_names=[], adapt if hasattr(p, 'ip_adapter_names'): if isinstance(p.ip_adapter_names, str): p.ip_adapter_names = [p.ip_adapter_names] - adapters = [ADAPTERS.get(adapter, None) for adapter in p.ip_adapter_names] + adapters = [ADAPTERS.get(adapter, None) for adapter in p.ip_adapter_names if adapter is not None and adapter.lower() != 'none'] adapter_names = p.ip_adapter_names else: if isinstance(adapter_names, str):