Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
Β·
8e3c82c
1
Parent(s):
fce962a
Remove links to models from leaderboard page
Browse files
frontend/src/pages/LeaderboardPage/components/Leaderboard/utils/columnUtils.jsx
CHANGED
@@ -573,70 +573,7 @@ export const createColumns = (
|
|
573 |
flex: 1,
|
574 |
}}
|
575 |
>
|
576 |
-
<Link
|
577 |
-
href={`https://huggingface.co/${modelName}`}
|
578 |
-
target="_blank"
|
579 |
-
rel="noopener noreferrer"
|
580 |
-
aria-label={`View ${modelName} on Hugging Face Hub`}
|
581 |
-
title={TABLE_TOOLTIPS.HUB_LINK(modelName)}
|
582 |
-
sx={{
|
583 |
-
textDecoration: "none",
|
584 |
-
color: "info.main",
|
585 |
-
display: "flex",
|
586 |
-
alignItems: "center",
|
587 |
-
gap: 0.5,
|
588 |
-
"&:hover": {
|
589 |
-
textDecoration: "underline",
|
590 |
-
color: (theme) =>
|
591 |
-
theme.palette.mode === "dark"
|
592 |
-
? theme.palette.info.light
|
593 |
-
: theme.palette.info.dark,
|
594 |
-
"& svg": {
|
595 |
-
opacity: 0.8,
|
596 |
-
},
|
597 |
-
},
|
598 |
-
overflow: "hidden",
|
599 |
-
textOverflow: "ellipsis",
|
600 |
-
whiteSpace: "nowrap",
|
601 |
-
flex: 1,
|
602 |
-
minWidth: 0,
|
603 |
-
fontWeight: row.original.static_rank <= 3 ? 600 : "inherit",
|
604 |
-
}}
|
605 |
-
>
|
606 |
<HighlightedText text={modelName} searchValue={textSearch} />
|
607 |
-
<OpenInNewIcon
|
608 |
-
sx={{
|
609 |
-
fontSize: "0.75rem",
|
610 |
-
opacity: 0.6,
|
611 |
-
transition: "opacity 0.2s ease-in-out",
|
612 |
-
ml: 0.5,
|
613 |
-
flexShrink: 0,
|
614 |
-
}}
|
615 |
-
/>
|
616 |
-
</Link>
|
617 |
-
<Link
|
618 |
-
href={getDetailsUrl(modelName)}
|
619 |
-
target="_blank"
|
620 |
-
rel="noopener noreferrer"
|
621 |
-
aria-label={`View detailed evaluation results for ${modelName}`}
|
622 |
-
title={TABLE_TOOLTIPS.EVAL_RESULTS(modelName)}
|
623 |
-
sx={{
|
624 |
-
textDecoration: "none",
|
625 |
-
"&:hover": {
|
626 |
-
textDecoration: "underline",
|
627 |
-
"& svg": {
|
628 |
-
color: "text.primary",
|
629 |
-
},
|
630 |
-
},
|
631 |
-
display: "flex",
|
632 |
-
alignItems: "center",
|
633 |
-
color: "text.secondary",
|
634 |
-
flexShrink: 0,
|
635 |
-
mr: 0,
|
636 |
-
}}
|
637 |
-
>
|
638 |
-
<DatabaseIcon />
|
639 |
-
</Link>
|
640 |
</Box>
|
641 |
</Box>
|
642 |
);
|
|
|
573 |
flex: 1,
|
574 |
}}
|
575 |
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
576 |
<HighlightedText text={modelName} searchValue={textSearch} />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
577 |
</Box>
|
578 |
</Box>
|
579 |
);
|