Spaces:
Runtime error
Runtime error
Dataset repo type
Browse files
app.py
CHANGED
@@ -36,7 +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)
|
40 |
with open(ELO_FILE, "r") as f:
|
41 |
data = pd.read_csv(f)
|
42 |
return data
|
|
|
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
|