runtime error
Exit code: 1. Reason: ing exception: Traceback (most recent call last): File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1778, in whoami hf_raise_for_status(r) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 482, in hf_raise_for_status raise _format(HfHubHTTPError, str(e), response) from e huggingface_hub.errors.HfHubHTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/whoami-v2 (Request ID: Root=1-68fa007b-5368d92f157677532b1eaa3c;613b37a0-a75b-45b7-9a96-451be13a249a) Invalid credentials in Authorization header The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 35, in <module> login(HF_TOKEN, add_to_git_credential=True) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 101, in inner_f return f(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 31, in inner_f return f(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/_login.py", line 126, in login _login(token, add_to_git_credential=add_to_git_credential) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/_login.py", line 404, in _login token_info = whoami(token) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.18/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1791, in whoami raise HTTPError(error_message, request=e.request, response=e.response) from e requests.exceptions.HTTPError: Invalid user token. The token from HF_TOKEN environment variable is invalid. Note that HF_TOKEN takes precedence over `hf auth login`.
Container logs:
Fetching error logs...