runtime error
Exit code: 1. Reason: response.raise_for_status() File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 1024, 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 "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1664, in whoami hf_raise_for_status(r) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 481, 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-6852725f-2db55de151163381752b5a63;f9b42ad9-6e92-4828-a210-25f751fe4f8a) 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 76, in <module> space_repo = setup_local_repo_for_push() File "/home/user/app/app.py", line 54, in setup_local_repo_for_push repo = Repository( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 132, in inner_f return f(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/repository.py", line 542, in __init__ user = self.client.whoami(self.huggingface_token) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1677, in whoami raise HTTPError(error_message, request=e.request, response=e.response) from e requests.exceptions.HTTPError: Invalid user token.
Container logs:
Fetching error logs...