runtime error
Exit code: 1. Reason: the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.13/site-packages/huggingface_hub/hf_api.py", line 2286, in _inner_whoami hf_raise_for_status(r) ~~~~~~~~~~~~~~~~~~~^^^ File "/usr/local/lib/python3.13/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-69de6900-24c320af2bd7d7d3638d1295;2ebc2445-7907-4228-aa12-28da68c9e3a8) 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 "/app/app.py", line 5, in <module> from logic import generate_story_segment File "/app/logic.py", line 2, in <module> from model_loader import generate_response, count_tokens File "/app/model_loader.py", line 6, in <module> login(token=os.getenv("HUGGINGFACE_TOKEN")) ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/huggingface_hub/_login.py", line 112, in login _login(token, add_to_git_credential=add_to_git_credential) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/huggingface_hub/_login.py", line 378, in _login token_info = whoami(token) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/hf_api.py", line 2273, in whoami output = self._inner_whoami(token=token) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/hf_api.py", line 2302, in _inner_whoami raise HfHubHTTPError(error_message, response=e.response) from e huggingface_hub.errors.HfHubHTTPError: Invalid user token.
Container logs:
Fetching error logs...