updated OWNER
Browse files- README.md +11 -1
- src/envs.py +2 -1
README.md
CHANGED
|
@@ -41,4 +41,14 @@ If you encounter problem on the space, don't hesitate to restart it to remove th
|
|
| 41 |
You'll find
|
| 42 |
- the main table' columns names and properties in `src/display/utils.py`
|
| 43 |
- the logic to read all results and request files, then convert them in dataframe lines, in `src/leaderboard/read_evals.py`, and `src/populate.py`
|
| 44 |
-
- teh logic to allow or filter submissions in `src/submission/submit.py` and `src/submission/check_validity.py`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
You'll find
|
| 42 |
- the main table' columns names and properties in `src/display/utils.py`
|
| 43 |
- the logic to read all results and request files, then convert them in dataframe lines, in `src/leaderboard/read_evals.py`, and `src/populate.py`
|
| 44 |
+
- teh logic to allow or filter submissions in `src/submission/submit.py` and `src/submission/check_validity.py`
|
| 45 |
+
|
| 46 |
+
# Setup instructions (to run locally)
|
| 47 |
+
|
| 48 |
+
```
|
| 49 |
+
pip install gradio gradio-leaderboard apscheduler
|
| 50 |
+
```
|
| 51 |
+
To launch:
|
| 52 |
+
```
|
| 53 |
+
python app.py
|
| 54 |
+
```
|
src/envs.py
CHANGED
|
@@ -6,7 +6,8 @@ from huggingface_hub import HfApi
|
|
| 6 |
# ----------------------------------
|
| 7 |
TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
|
| 8 |
|
| 9 |
-
OWNER = "demo-leaderboard-backend" # Change to your org - don't forget to create a results and request dataset, with the correct format!
|
|
|
|
| 10 |
# ----------------------------------
|
| 11 |
|
| 12 |
REPO_ID = f"{OWNER}/leaderboard"
|
|
|
|
| 6 |
# ----------------------------------
|
| 7 |
TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org
|
| 8 |
|
| 9 |
+
# OWNER = "demo-leaderboard-backend" # Change to your org - don't forget to create a results and request dataset, with the correct format!
|
| 10 |
+
OWNER = "mlcore"
|
| 11 |
# ----------------------------------
|
| 12 |
|
| 13 |
REPO_ID = f"{OWNER}/leaderboard"
|