runtime error
Exit code: 1. Reason: /api/whoami-v2 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/huggingface_hub/hf_api.py", line 1782, in whoami hf_raise_for_status(r) File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_http.py", line 480, 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-69229568-5f744cb92a7fdf4c03c0426b;14ee428f-19ce-4deb-9da3-f58c503ee8bf) Invalid username or password. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/gradio_app.py", line 8, in <module> from model_handler import ModelHandler File "/home/user/app/gradio_app/model_handler.py", line 24, in <module> login(os.environ.get("HUGGINGFACEHUB_API_TOKEN")) File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_deprecation.py", line 101, in inner_f return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_deprecation.py", line 31, in inner_f return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/huggingface_hub/_login.py", line 126, in login _login(token, add_to_git_credential=add_to_git_credential) File "/usr/local/lib/python3.11/site-packages/huggingface_hub/_login.py", line 404, in _login token_info = whoami(token) ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/huggingface_hub/hf_api.py", line 1796, 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...