From d38c50c8ddbaad45250679a201b2630602ee099c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E4=BD=B3=E5=AE=9D?= Date: Sun, 17 Nov 2024 05:54:13 +0800 Subject: [PATCH] Update ip_adapter.py (#8882) update comments of load_ip_adapter function --- src/diffusers/loaders/ip_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diffusers/loaders/ip_adapter.py b/src/diffusers/loaders/ip_adapter.py index 49b46c4fc6..c96cb21f78 100644 --- a/src/diffusers/loaders/ip_adapter.py +++ b/src/diffusers/loaders/ip_adapter.py @@ -74,7 +74,7 @@ class IPAdapterMixin: list is passed, it should have the same length as `weight_name`. weight_name (`str` or `List[str]`): The name of the weight file to load. If a list is passed, it should have the same length as - `weight_name`. + `subfolder`. image_encoder_folder (`str`, *optional*, defaults to `image_encoder`): The subfolder location of the image encoder within a larger model repository on the Hub or locally. Pass `None` to not load the image encoder. If the image encoder is located in a folder inside