runtime error
Exit code: 1. Reason: r) / "download" / f"{sanitized_filename}.metadata" File "/usr/local/lib/python3.10/site-packages/huggingface_hub/_local_folder.py", line 408, in _huggingface_dir path.mkdir(exist_ok=True, parents=True) File "/usr/local/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) NotADirectoryError: [Errno 20] Not a directory: 'data/requests.json/.cache/huggingface' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 406, in hf_raise_for_status 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: 403 Client Error: Forbidden for url: https://huggingface.co/api/spaces/demo-leaderboard-backend/leaderboard/restart The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 42, in <module> restart_space() File "/home/user/app/app.py", line 33, in restart_space API.restart_space(repo_id=REPO_ID) 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 7075, in restart_space hf_raise_for_status(r) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 468, in hf_raise_for_status raise _format(HfHubHTTPError, message, response) from e huggingface_hub.errors.HfHubHTTPError: (Request ID: Root=1-67774796-0ed7fd100f50148b4495f742;e09bb17c-24dd-4292-bd87-bfc00a4f9fa9) 403 Forbidden: You have read access but not the required permissions for this operation. Cannot access content at: https://huggingface.co/api/spaces/demo-leaderboard-backend/leaderboard/restart. Make sure your token has the correct permissions.
Container logs:
Fetching error logs...