Spaces:
Runtime error
Runtime error
Cleanup
Browse files- background_task.py +0 -3
background_task.py
CHANGED
@@ -115,9 +115,6 @@ class Matchmaking:
|
|
115 |
print(df.head())
|
116 |
df.to_csv(os.path.join(ELO_DIR, ELO_FILENAME), index=False)
|
117 |
repo.push_to_hub(commit_message="Update ELO")
|
118 |
-
# df_matches = pd.DataFrame(self.matches)
|
119 |
-
# date = datetime.now()
|
120 |
-
# df_matches.to_csv(f"match_history/{date.strftime('%Y-%m-%d_%H-%M-%S_%f')}.csv", index=False)
|
121 |
|
122 |
|
123 |
def match(model1, model2) -> float:
|
|
|
115 |
print(df.head())
|
116 |
df.to_csv(os.path.join(ELO_DIR, ELO_FILENAME), index=False)
|
117 |
repo.push_to_hub(commit_message="Update ELO")
|
|
|
|
|
|
|
118 |
|
119 |
|
120 |
def match(model1, model2) -> float:
|