Figured I'd give this a spin ... but the login API is down?

#2
by koaning - opened

Am I the only one seeing this?

Traceback (most recent call last):
  File "/var/folders/7n/5rdnt08n1xn_dxk8jg1wrdgw0000gn/T/tmpm0lfdjwj.py", line 5, in <module>
    huggingface_token = HfApi().login(username=hf_user, password=hf_password)
  File "/Users/vincentwarmerdam/Development/arxiv-frontpage/venv/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 315, in login
    r.raise_for_status()
  File "/Users/vincentwarmerdam/Development/arxiv-frontpage/venv/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/api/login
ERROR: Stopping generation because pre_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

having exactly the same problem here. hope there would be some suggestions...

Feel free to use #3 as a workaround for now @cici13306 .

#3 has been merged, this should be solved now. I think this can be closed :)

koaning changed discussion status to closed

Sign up or log in to comment