Spaces:
Running
Running
abhinav-joshi
commited on
Commit
·
0ddbd2e
1
Parent(s):
2012235
fix upload
Browse files- uploads.py +2 -1
uploads.py
CHANGED
@@ -96,7 +96,8 @@ def add_new_eval(
|
|
96 |
leaderboard_df = pd.read_csv(f"submissions/baseline/baseline.csv")
|
97 |
|
98 |
# append the new submission_df csv to the leaderboard
|
99 |
-
leaderboard_df = leaderboard_df.
|
|
|
100 |
|
101 |
# save the new leaderboard
|
102 |
# leaderboard_df.to_csv(f"submissions/baseline/baseline.csv", index=False)
|
|
|
96 |
leaderboard_df = pd.read_csv(f"submissions/baseline/baseline.csv")
|
97 |
|
98 |
# append the new submission_df csv to the leaderboard
|
99 |
+
# leaderboard_df = leaderboard_df._append(submission_df)
|
100 |
+
leaderboard_df = pd.concat([leaderboard_df, submission_df], ignore_index=True)
|
101 |
|
102 |
# save the new leaderboard
|
103 |
# leaderboard_df.to_csv(f"submissions/baseline/baseline.csv", index=False)
|