huggingface / huggingface/deep-rl-class

[HANDS-ON BUG] Can't access the leaderboard

Open
#598 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
5k
Forks
811
PR merge metrics
No merged PRs in 30d

Description

# Describe the bug

I can't access the leaderboard for any unit, is this on my end or a known issue?

# Material

![Image](https://github.com/user-attachments/assets/8be89e0c-29d2-4854-955f-281789717176)

Error message:

runtime error
Exit code: 1. Reason: 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/datasets/huggingface-projects/drlc-leaderboard-data/commit/main

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/user/app/app.py", line 335, in
run_update_dataset()
File "/home/user/app/app.py", line 315, in run_update_dataset
api.upload_folder(
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 1524, in _inner
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4677, in upload_folder
commit_info = self.create_commit(
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 1524, in _inner
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4053, in create_commit
hf_raise_for_status(commit_resp, endpoint_name="commit")
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-67a84d5c-0a35e1c00660f7dd47fc3850;3e5a3747-4a14-485f-861d-dcdd06f2904c)

403 Forbidden: Forbidden: pass `create_pr=1` as a query parameter to create a Pull Request.
Cannot access content at: https://huggingface.co/api/datasets/huggingface-projects/drlc-leaderboard-data/commit/main.
Make sure your token has the correct permissions.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.