runtime error
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 1397, in whoami hf_raise_for_status(r) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 371, 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-6665fa46-2d0a8f5641ac56a431fbbbee;a5c06f8b-42ee-4e27-8c0b-14932fdf831f) User Access Token "basic-writes" 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 4, in <module> exec(f.read()) File "<string>", line 76, in <module> File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 398, in __init__ self.flagging_callback.setup( File "/usr/local/lib/python3.10/site-packages/gradio/flagging.py", line 293, in setup repo_id = huggingface_hub.get_full_repo_name( 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 5716, in get_full_repo_name username = self.whoami(token=token)["name"] # type: ignore 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 1399, 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.
Container logs:
Fetching error logs...