From 86cb53342a4128382d12a8616077a38e1369b695 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Sat, 23 Sep 2023 17:42:11 -0400 Subject: [PATCH] fix probing for ip_adapter folders --- invokeai/backend/model_management/model_search.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/invokeai/backend/model_management/model_search.py b/invokeai/backend/model_management/model_search.py index 3cded73d80..7e6b37c832 100644 --- a/invokeai/backend/model_management/model_search.py +++ b/invokeai/backend/model_management/model_search.py @@ -71,7 +71,13 @@ class ModelSearch(ABC): if any( [ (path / x).exists() - for x in {"config.json", "model_index.json", "learned_embeds.bin", "pytorch_lora_weights.bin"} + for x in { + "config.json", + "model_index.json", + "learned_embeds.bin", + "pytorch_lora_weights.bin", + "image_encoder.txt", + } ] ): try: