Abhishek Thakur
commited on
Commit
·
ed00fce
1
Parent(s):
ac74837
fix private lb multi metrics
Browse files- competitions/leaderboard.py +2 -2
- requirements.txt +1 -1
competitions/leaderboard.py
CHANGED
|
@@ -125,8 +125,8 @@ class Leaderboard:
|
|
| 125 |
score_keys = list(submission_info["submissions"][0]["public_score"].keys())
|
| 126 |
# get the first key after sorting
|
| 127 |
score_key = sorted(score_keys)[0]
|
| 128 |
-
other_scores = [f"
|
| 129 |
-
self.
|
| 130 |
for _sub in submission_info["submissions"]:
|
| 131 |
for skey in score_keys:
|
| 132 |
if skey != score_key:
|
|
|
|
| 125 |
score_keys = list(submission_info["submissions"][0]["public_score"].keys())
|
| 126 |
# get the first key after sorting
|
| 127 |
score_key = sorted(score_keys)[0]
|
| 128 |
+
other_scores = [f"private_score_{k}" for k in score_keys if k != score_key]
|
| 129 |
+
self.private_columns.extend(other_scores)
|
| 130 |
for _sub in submission_info["submissions"]:
|
| 131 |
for skey in score_keys:
|
| 132 |
if skey != score_key:
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
gradio==3.
|
| 2 |
joblib==1.2.0
|
| 3 |
loguru>=0.6.0
|
| 4 |
pandas>=2.0.1
|
|
|
|
| 1 |
+
gradio==3.32.0
|
| 2 |
joblib==1.2.0
|
| 3 |
loguru>=0.6.0
|
| 4 |
pandas>=2.0.1
|