meg HF staff commited on
Commit
644021f
1 Parent(s): 7689092

Renaming environ variable

Browse files

Cloning this repo suggests that the environment variable should be TOKEN, not HF_TOKEN.
This also matches the token name on the frontend.

Files changed (1) hide show
  1. src/envs.py +1 -1
src/envs.py CHANGED
@@ -4,7 +4,7 @@ from huggingface_hub import HfApi
4
 
5
  # Info to change for your repository
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
10
 
 
4
 
5
  # Info to change for your repository
6
  # ----------------------------------
7
+ TOKEN = os.environ.get("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
10