runtime error
Exit code: 1. Reason: ggingface.co/api/whoami-v2' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401 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 2280, in _inner_whoami hf_raise_for_status(r) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 877, in hf_raise_for_status raise _format(HfHubHTTPError, str(e), response) from e huggingface_hub.errors.HfHubHTTPError: Client error '401 Unauthorized' for url 'https://huggingface.co/api/whoami-v2' (Request ID: Root=1-6aa90b0a-4a27a2587e966e8955d0b3da;e809708d-a5ab-474e-917e-4485c276ebe6) For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401 Invalid username or password. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 31, in <module> login_for_gated_models() File "/home/user/app/app.py", line 28, in login_for_gated_models login(token=token) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/_login.py", line 113, in login _login(token, add_to_git_credential=add_to_git_credential) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/_login.py", line 379, in _login token_info = whoami(token) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 2267, in whoami output = self._inner_whoami(token=token) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 2296, in _inner_whoami raise HfHubHTTPError(error_message, response=e.response) from e huggingface_hub.errors.HfHubHTTPError: 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...