Skip to content

Commit d38c50c

Browse files
authored
Update ip_adapter.py (huggingface#8882)
update comments of load_ip_adapter function
1 parent e255920 commit d38c50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/loaders/ip_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def load_ip_adapter(
7474
list is passed, it should have the same length as `weight_name`.
7575
weight_name (`str` or `List[str]`):
7676
The name of the weight file to load. If a list is passed, it should have the same length as
77-
`weight_name`.
77+
`subfolder`.
7878
image_encoder_folder (`str`, *optional*, defaults to `image_encoder`):
7979
The subfolder location of the image encoder within a larger model repository on the Hub or locally.
8080
Pass `None` to not load the image encoder. If the image encoder is located in a folder inside

0 commit comments

Comments
 (0)