Spaces:
Runtime error
Runtime error
Fix filepath
Browse files- background_task.py +1 -1
background_task.py
CHANGED
@@ -109,7 +109,7 @@ class Matchmaking:
|
|
109 |
df.to_csv('env_elos/elo.csv', index=False)
|
110 |
df_matches = pd.DataFrame(self.matches)
|
111 |
date = datetime.now()
|
112 |
-
df_matches.to_csv(f"
|
113 |
|
114 |
|
115 |
def match(model1, model2) -> float:
|
|
|
109 |
df.to_csv('env_elos/elo.csv', index=False)
|
110 |
df_matches = pd.DataFrame(self.matches)
|
111 |
date = datetime.now()
|
112 |
+
df_matches.to_csv(f"match_history/{date.strftime('%Y-%m-%d_%H-%M-%S_%f')}.csv", index=False)
|
113 |
|
114 |
|
115 |
def match(model1, model2) -> float:
|