File size: 343 Bytes
5d015e0
 
 
 
 
 
 
 
47dba14
5d015e0
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os

from huggingface_hub import HfApi

# Info to change for your repository
# ----------------------------------
TOKEN = os.environ.get("HF_TOKEN") # A read/write token for your org

OWNER = "demo-leaderboard-backend" # Change to your org
# ----------------------------------

REPO_ID = f"{OWNER}/leaderboard"

API = HfApi(token=TOKEN)