CarlCochet commited on
Commit
8c593eb
·
1 Parent(s): 41aaa19

Update background_task.py

Browse files
Files changed (1) hide show
  1. background_task.py +5 -5
background_task.py CHANGED
@@ -6,9 +6,9 @@ from datetime import datetime
6
  from huggingface_hub import HfApi, Repository
7
  from utils import *
8
 
9
- DATASET_REPO_URL = "https://huggingface.co/datasets/DELETE-huggingface-projects/bot-fight-data"
10
- DATASET_TEMP_REPO_URL = "https://huggingface.co/datasets/DELETE-huggingface-projects/temp-match-results"
11
- FILTER_FILE = "https://huggingface.co/datasets/DELETE-huggingface-projects/filter-bad-models/raw/main/bad_models.csv"
12
  ELO_FILENAME = "soccer_elo.csv"
13
  HISTORY_FILENAME = "soccer_history.csv"
14
  TEMP_FILENAME = "results.csv"
@@ -85,12 +85,12 @@ class Matchmaking:
85
  """ Load the match history from the hub. """
86
  repo.git_pull()
87
  results = pd.read_csv(
88
- "https://huggingface.co/datasets/DELETE-huggingface-projects/temp-match-results/raw/main/results.csv"
89
  )
90
  # while len(results) < len(self.matches["model1"]):
91
  # time.sleep(60)
92
  # results = pd.read_csv(
93
- # "https://huggingface.co/datasets/DELETE-huggingface-projects/temp-match-results/raw/main/results.csv"
94
  # )
95
 
96
  for i, row in results.iterrows():
 
6
  from huggingface_hub import HfApi, Repository
7
  from utils import *
8
 
9
+ DATASET_REPO_URL = "https://huggingface.co/datasets/huggingface-projects/DELETE-bot-fight-data"
10
+ DATASET_TEMP_REPO_URL = "https://huggingface.co/datasets/huggingface-projects/DELETE-temp-match-results"
11
+ FILTER_FILE = "https://huggingface.co/datasets/huggingface-projects/DELETE-filter-bad-models/raw/main/bad_models.csv"
12
  ELO_FILENAME = "soccer_elo.csv"
13
  HISTORY_FILENAME = "soccer_history.csv"
14
  TEMP_FILENAME = "results.csv"
 
85
  """ Load the match history from the hub. """
86
  repo.git_pull()
87
  results = pd.read_csv(
88
+ "https://huggingface.co/datasets/huggingface-projects/DELETE-temp-match-results/raw/main/results.csv"
89
  )
90
  # while len(results) < len(self.matches["model1"]):
91
  # time.sleep(60)
92
  # results = pd.read_csv(
93
+ # "https://huggingface.co/datasets/huggingface-projects/DELETE-temp-match-results/raw/main/results.csv"
94
  # )
95
 
96
  for i, row in results.iterrows():