Soulter / hugging-chat-api

HuggingChat Python API🤗
GNU Affero General Public License v3.0
861 stars 123 forks source link

Logging in getting 401 error. #203

Closed FBRDCYB3R closed 2 months ago

FBRDCYB3R commented 6 months ago

When running the app via the CLI with

python -m hugchat.cli -u <email>

it just gives me this error: Exception: Failed to get remote LLMs with status code: 401

I have a token on huggingface and everything. Does anyone know how to fix this issue

lethxrgy1 commented 6 months ago

Same error today

Whitelisted1 commented 6 months ago

Are you logging in with a password or with stored cookies? I was having an issue on my account until I regenerated my cookie.

FBRDCYB3R commented 6 months ago

How do I clear my cookies folder?

Soulter commented 6 months ago

How do I clear my cookies folder?

The cookies folder stores in the directory where you executed this command and called usercookies. You can delete this folder and try again.

AnaghaAMT commented 5 months ago

Can anyone tell me the validity of each token?

github-actions[bot] commented 3 months ago

This issue was marked as stale because of inactivity.

github-actions[bot] commented 2 months ago

This issue was closed because of inactivity.