Spaces:
Sleeping
Sleeping
| 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) | |