taxfree_python commited on
Commit
6640dd0
·
1 Parent(s): 7706c31

Fix dependencies bugs

Browse files
leaderboard/dataset.py CHANGED
@@ -2,10 +2,10 @@ import os
2
 
3
  import pandas as pd
4
  from datasets import Dataset, load_dataset
5
- from dotenv import load_dotenv
6
  from huggingface_hub import login
7
 
8
- load_dotenv()
9
 
10
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
11
  RESULT_DATASET_ID = os.environ.get("RESULT_DATASET_ID", None)
 
2
 
3
  import pandas as pd
4
  from datasets import Dataset, load_dataset
5
+ # from dotenv import load_dotenv
6
  from huggingface_hub import login
7
 
8
+ # load_dotenv()
9
 
10
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
11
  RESULT_DATASET_ID = os.environ.get("RESULT_DATASET_ID", None)
leaderboard/evaluation.py CHANGED
@@ -6,10 +6,10 @@ from urllib.parse import urlparse
6
  import joblib
7
  import numpy as np
8
  from datasets import load_dataset
9
- from dotenv import load_dotenv
10
  from huggingface_hub import hf_hub_download
11
 
12
- load_dotenv()
13
 
14
  TEST_DATA_ID = os.environ.get("TEST_DATA_ID", None)
15
 
 
6
  import joblib
7
  import numpy as np
8
  from datasets import load_dataset
9
+ # from dotenv import load_dotenv
10
  from huggingface_hub import hf_hub_download
11
 
12
+ # load_dotenv()
13
 
14
  TEST_DATA_ID = os.environ.get("TEST_DATA_ID", None)
15