Spaces:
AIR-Bench
/
Running on CPU Upgrade

nan commited on
Commit
f3b296a
1 Parent(s): 1a2dba5

chore: clean up

Browse files
Files changed (1) hide show
  1. src/envs.py +7 -4
src/envs.py CHANGED
@@ -4,18 +4,21 @@ from huggingface_hub import HfApi
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 = "nan" # Change to your org - don't forget to create a results and request dataset, with the correct format!
10
  # ----------------------------------
11
 
12
  REPO_ID = f"{OWNER}/leaderboard"
13
- RESULTS_REPO = f"{OWNER}/results"
 
 
 
14
 
15
  # If you setup a cache later, just change HF_HOME
16
  CACHE_PATH = os.getenv("HF_HOME", ".")
17
 
18
  # Local caches
19
- EVAL_RESULTS_PATH = "/Users/nanwang/Codes/huggingface/nan/results/demo-leaderboard" #os.path.join(CACHE_PATH, "eval-results")
20
 
21
  API = HfApi(token=TOKEN)
 
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 = "AIR-Bench" # "nan" # Change to your org - don't forget to create a results and request dataset, with the correct format!
10
  # ----------------------------------
11
 
12
  REPO_ID = f"{OWNER}/leaderboard"
13
+ # repo for storing the evaluation results
14
+ RESULTS_REPO = f"{OWNER}/eval_results"
15
+ # repo for submitting the evaluation
16
+ SEARCH_RESULTS_REPO = f"{OWNER}/search_results"
17
 
18
  # If you setup a cache later, just change HF_HOME
19
  CACHE_PATH = os.getenv("HF_HOME", ".")
20
 
21
  # Local caches
22
+ EVAL_RESULTS_PATH = os.path.join(CACHE_PATH, "eval_results")
23
 
24
  API = HfApi(token=TOKEN)