Spaces:
Runtime error
Runtime error
print debug
Browse files- background_task.py +1 -0
background_task.py
CHANGED
@@ -109,6 +109,7 @@ class Matchmaking:
|
|
109 |
data_dict["elo"].append(model.elo)
|
110 |
data_dict["games_played"].append(model.games_played)
|
111 |
df = pd.DataFrame(data_dict)
|
|
|
112 |
df.to_csv(os.path.join(DATASET_REPO_URL, "resolve", "main", ELO_FILE))
|
113 |
# df_matches = pd.DataFrame(self.matches)
|
114 |
# date = datetime.now()
|
|
|
109 |
data_dict["elo"].append(model.elo)
|
110 |
data_dict["games_played"].append(model.games_played)
|
111 |
df = pd.DataFrame(data_dict)
|
112 |
+
print(df.head())
|
113 |
df.to_csv(os.path.join(DATASET_REPO_URL, "resolve", "main", ELO_FILE))
|
114 |
# df_matches = pd.DataFrame(self.matches)
|
115 |
# date = datetime.now()
|