Clémentine commited on
Commit
f982b8e
1 Parent(s): f0298e1

made token a requirement

Browse files
Files changed (1) hide show
  1. src/envs.py +2 -2
src/envs.py CHANGED
@@ -4,8 +4,8 @@ from huggingface_hub import HfApi
4
 
5
  # Info to change for your repository
6
  # ----------------------------------
7
- TOKEN = os.environ.get("TOKEN", None) # A read/write token for your org
8
- print(TOKEN)
9
  OWNER = "demo-leaderboard-backend" # Change to your org - don't forget to create a results and request file
10
  DEVICE = "cpu" # cuda:0 if you add compute
11
  LIMIT = 20 # !!!! Should be None for actual evaluations!!!
 
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 file
10
  DEVICE = "cpu" # cuda:0 if you add compute
11
  LIMIT = 20 # !!!! Should be None for actual evaluations!!!