Marcelo Lotif
commited on
Commit
·
87fef00
1
Parent(s):
1249741
Making it work on python > 3.10
Browse files- .gitignore +1 -0
- src/display/utils.py +3 -0
.gitignore
CHANGED
@@ -5,6 +5,7 @@ __pycache__/
|
|
5 |
.ipynb_checkpoints
|
6 |
*ipynb
|
7 |
.vscode/
|
|
|
8 |
|
9 |
eval-queue/
|
10 |
eval-results/
|
|
|
5 |
.ipynb_checkpoints
|
6 |
*ipynb
|
7 |
.vscode/
|
8 |
+
.idea/
|
9 |
|
10 |
eval-queue/
|
11 |
eval-results/
|
src/display/utils.py
CHANGED
@@ -20,6 +20,9 @@ class ColumnContent:
|
|
20 |
hidden: bool = False
|
21 |
never_hidden: bool = False
|
22 |
|
|
|
|
|
|
|
23 |
## Leaderboard columns
|
24 |
auto_eval_column_dict = []
|
25 |
# Init
|
|
|
20 |
hidden: bool = False
|
21 |
never_hidden: bool = False
|
22 |
|
23 |
+
def __hash__(self):
|
24 |
+
return f"{self.name}-{self.type}-{self.displayed_by_default}-{self.hidden}-{self.never_hidden}"
|
25 |
+
|
26 |
## Leaderboard columns
|
27 |
auto_eval_column_dict = []
|
28 |
# Init
|