Spaces:
Running
Running
Mihail Yonchev
commited on
Commit
·
5cad64c
1
Parent(s):
ba85782
chore: make report visible
Browse files- src/display/utils.py +1 -1
- src/leaderboard/read_evals.py +1 -1
src/display/utils.py
CHANGED
@@ -26,7 +26,7 @@ class ColumnContent:
|
|
26 |
## Leaderboard columns
|
27 |
auto_eval_column_dict = [["model_type_symbol", ColumnContent, ColumnContent("T", "str", True, never_hidden=True)],
|
28 |
["model", ColumnContent, ColumnContent("Model", "markdown", True, never_hidden=True)],
|
29 |
-
["model_report", ColumnContent, ColumnContent("Full Report", "markdown",
|
30 |
]
|
31 |
# Init
|
32 |
# Scores
|
|
|
26 |
## Leaderboard columns
|
27 |
auto_eval_column_dict = [["model_type_symbol", ColumnContent, ColumnContent("T", "str", True, never_hidden=True)],
|
28 |
["model", ColumnContent, ColumnContent("Model", "markdown", True, never_hidden=True)],
|
29 |
+
["model_report", ColumnContent, ColumnContent("Full Report", "markdown", True, never_hidden=False)]
|
30 |
]
|
31 |
# Init
|
32 |
# Scores
|
src/leaderboard/read_evals.py
CHANGED
@@ -12,7 +12,7 @@ from src.display.utils import AutoEvalColumn, ModelType, Tasks, Precision, Weigh
|
|
12 |
from src.submission.check_validity import is_model_on_hub
|
13 |
|
14 |
def report_hyperlink(link):
|
15 |
-
return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">🔗
|
16 |
|
17 |
@dataclass
|
18 |
class EvalResult:
|
|
|
12 |
from src.submission.check_validity import is_model_on_hub
|
13 |
|
14 |
def report_hyperlink(link):
|
15 |
+
return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">🔗 Full Report</a>' if link else "N/A"
|
16 |
|
17 |
@dataclass
|
18 |
class EvalResult:
|