TheXeos commited on
Commit
fe3cf41
·
1 Parent(s): feddee5

Test pandas loading

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -36,9 +36,7 @@ def update_elos():
36
 
37
 
38
  def get_elo_data() -> pd.DataFrame:
39
- hf_hub_download(repo_id="CarlCochet/BotFightData", filename=ELO_FILENAME, subfolder=ELO_DIR, repo_type="dataset")
40
- with open(ELO_FILE, "r") as f:
41
- data = pd.read_csv(f)
42
  return data
43
 
44
 
 
36
 
37
 
38
  def get_elo_data() -> pd.DataFrame:
39
+ data = pd.read_csv(os.path.join(DATASET_REPO_URL, ELO_FILE))
 
 
40
  return data
41
 
42