Describe the bug
You cannot provide an auth token value to the **kwargs of load_textual_inversion  in src/diffusers/loaders/textual_inversion.py due to it being a named argument used for another purpose.
It seems this is due to a refactor at some point.
Since the named argument token is already used, you cannot pass an authentication key to this function.
The doc string has two entries for this argument:
token (`str` or *bool*, *optional*):
    The token to use as HTTP bearer authorization for remote files. If `True`, the token generated from
    `diffusers-cli login` (stored in `~/.huggingface`) is used.
token (`str` or `List[str]`, *optional*):
    Override the token to use for the textual inversion weights. If `pretrained_model_name_or_path` is a
    list, then `token` must also be a list of equal length.
 
Reproduction
N/A
Logs
No response
System Info
diffusers  0.27.2
Who can help?
No response