#Skipped over Hugging Face token entry by mistake during windows 10 install

22 messages · Page 1 of 1 (latest)

tacit olive
#

Accidentally right clicked and skipped over the token entry stage of the windows 10 install. I tried reinstalling it from the zip, but it saved the wrong token and/or password somewhere. When I try to continue the installation, it tries to use the wrong authentification- see screenshot. Is there a configuration file somewhere that I could delete, or change to correct my mistake?

tacit olive
#

Problem solved- all that was required was to invalidate and refresh the token in the Hugging Face website, and then when it the installer asks for a password, give it the token instead.

junior frigate
#

I'm curious what exactly happened. How did you skip the install, and was the invalidation of token in HF hub the only thing you did?

stiff bison
#

how do you clear cache where invalid token resides. Keeps pulling old/bad token from cache on reinstall?

solar violet
#

I had the same problem, what is the token for?

silver stream
#

the token is for huggingface to see that your user account has accepted the licenses for the models, so the InvokeAI installer is 'allowed' to download the models on your behalf

unborn junco
#

it's technically not needed, but the current config script treats it as mandatory. we've improved this in the upcoming release.

latent hill
#

So I accidentally hit return on that step and the install went through and I can use the software. My question is do I need the

#

token (I have one) and if so how do I rerun the config to do that . I have tried from terminal but I keep getting a file not found message. Using Mac. Thanks in advance

unborn junco
#

short answer: the token is helpful for the full functionality. without it, some of the <concepts> embeddings won't work. The easiest way to set it is: delete your ~/.huggingface/token file, and create a new plain text file by the same name, containing your token 🙂

#

there will be a UX to change it eventually, but not yet.

latent hill
#

I can't seem to find that file. Will deleting the invokeai/invokeai.init file force a recreation where it will prompt me for the token?

unborn junco
#

interesting. yes, if you delete the initfile it will re-prompt you for the token. but the fact that you don't have it is odd.

#

can you try this as a workaround please:

#
pip install huggingface_hub
hugginface-cli login

this should prompt you for the token and save it in the right place.

latent hill
#

getting this error zsh: /usr/local/bin/pip: bad interpreter: /usr/bin/python: no such file or directory

unborn junco
#

try pip3...

latent hill
#

so I ran pip3 install but hugginface-cli login is command not found

#

ha! found a typo trying huggingface instead now

#

I'm pasting in the token but it says invalid token passed perhaps this is the same problem that was stated above.

#

ok problem solved I was saying yes to making it my github credetial

#

Thank you for your help. Good night and have a pleasant tomorrow