runtime error

errors.py", line 286, in hf_raise_for_status response.raise_for_status() File "/home/user/.local/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/whoami-v2 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1310, in whoami hf_raise_for_status(r) File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 333, in hf_raise_for_status raise HfHubHTTPError(str(e), response=response) from e huggingface_hub.utils._errors.HfHubHTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/whoami-v2 (Request ID: Root=1-66667292-62f704451189c4eb3a972abb;1536db15-d6af-4319-8de3-6c6b7dbafd96) User Access Token "Njogerera-V1-token" is expired The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 15, in <module> user_info = api.whoami(token=huggingface_token) File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1312, in whoami raise HTTPError( requests.exceptions.HTTPError: Invalid user token. If you didn't pass a user token, make sure you are properly logged in by executing `huggingface-cli login`, and if you did pass a user token, double-check it's correct. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 18, in <module> raise ValueError("Failed to authenticate with the provided Hugging Face token.") ValueError: Failed to authenticate with the provided Hugging Face token.

Container logs:

Fetching error logs...