InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[bug]: reseting Fetching Hugging Face token

Open nielswh opened this issue 3 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

OS

Linux

GPU

cuda

VRAM

32

What happened?

I've moved to a different company and they require that I use their API token for hugging face.

Where can I make the change on my computer to update the token?

Screenshots

No response

Additional context

No response

Contact Details

No response

nielswh avatar Dec 23 '22 17:12 nielswh

HuggingFace caches the token in your home directory, under ~/.huggingface/token. Deleting this file will reset the token. Also, you can use the HUGGINGFACE_TOKEN environment variable to switch tokens at any time, as needed.

ebr avatar Dec 23 '22 21:12 ebr

Thank you!

nielswh avatar Dec 24 '22 17:12 nielswh