d0rj's picture
feat: Initial commit
1719436
raw
history blame contribute delete
258 Bytes
import os
from huggingface_hub import HfApi
REPO_ID = os.getenv("SPACE_ID", "d0rj/romb-leaderboard")
HF_TOKEN = os.getenv("HF_TOKEN", None)
if not HF_TOKEN:
raise ValueError("HF_TOKEN environment variable is not set.")
hf_api = HfApi(token=HF_TOKEN)