Spaces:
Sleeping
Sleeping
File size: 479 Bytes
7dec9fd 779fc78 7dec9fd 779fc78 7dec9fd 321b506 7dec9fd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
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 = "Thun09" # Change to your org - don't forget to create a results and request dataset, with the correct format!
# ----------------------------------
REPO_ID = f"{OWNER}/leaderboard"
# QUEUE_REPO = f"{OWNER}/requests"
# RESULTS_REPO = f"{OWNER}/results"
API = HfApi(token=TOKEN)
|