1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Update ip_adapter.py (#8882)

update comments of load_ip_adapter function
This commit is contained in:
高佳宝
2024-11-17 05:54:13 +08:00
committed by GitHub
parent e255920719
commit d38c50c8dd

View File

@@ -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