Upload 4 files
Browse files- app.py +1 -1
- static/styles.css +7 -1
- templates/index.html +0 -2
app.py
CHANGED
@@ -43,7 +43,7 @@ def load_leaderboard() -> Tuple[List[str], List[Dict[str, str]]]:
|
|
43 |
|
44 |
return headers, rows
|
45 |
|
46 |
-
app = FastAPI(title="YKS LLM Leaderboard")
|
47 |
|
48 |
templates = Jinja2Templates(directory=str(APP_DIR / "templates"))
|
49 |
app.mount("/static", StaticFiles(directory=str(APP_DIR / "static")), name="static")
|
|
|
43 |
|
44 |
return headers, rows
|
45 |
|
46 |
+
app = FastAPI(title="YKS 2025 LLM Leaderboard")
|
47 |
|
48 |
templates = Jinja2Templates(directory=str(APP_DIR / "templates"))
|
49 |
app.mount("/static", StaticFiles(directory=str(APP_DIR / "static")), name="static")
|
static/styles.css
CHANGED
@@ -83,11 +83,12 @@ th, td {
|
|
83 |
|
84 |
thead th {
|
85 |
position: sticky;
|
86 |
-
top:
|
87 |
background: #0f1730;
|
88 |
color: var(--muted);
|
89 |
font-weight: 600;
|
90 |
cursor: pointer;
|
|
|
91 |
}
|
92 |
|
93 |
tbody tr:hover { background: rgba(91, 156, 255, 0.06); }
|
@@ -98,6 +99,11 @@ td[data-label="Rank"], th:first-child {
|
|
98 |
color: #cfe2ff;
|
99 |
}
|
100 |
|
|
|
|
|
|
|
|
|
|
|
101 |
.footer {
|
102 |
color: var(--muted);
|
103 |
font-size: 13px;
|
|
|
83 |
|
84 |
thead th {
|
85 |
position: sticky;
|
86 |
+
top: 0;
|
87 |
background: #0f1730;
|
88 |
color: var(--muted);
|
89 |
font-weight: 600;
|
90 |
cursor: pointer;
|
91 |
+
z-index: 1;
|
92 |
}
|
93 |
|
94 |
tbody tr:hover { background: rgba(91, 156, 255, 0.06); }
|
|
|
99 |
color: #cfe2ff;
|
100 |
}
|
101 |
|
102 |
+
/* Keep model names on a single line */
|
103 |
+
td[data-label="Model"] {
|
104 |
+
white-space: nowrap;
|
105 |
+
}
|
106 |
+
|
107 |
.footer {
|
108 |
color: var(--muted);
|
109 |
font-size: 13px;
|
templates/index.html
CHANGED
@@ -16,7 +16,6 @@
|
|
16 |
<header class="page-header" id="site-header">
|
17 |
<div class="container">
|
18 |
<h1>YKS LLM Leaderboard</h1>
|
19 |
-
<p class="subtitle">Source: <code>{{ csv_path }}</code></p>
|
20 |
</div>
|
21 |
</header>
|
22 |
|
@@ -58,7 +57,6 @@
|
|
58 |
</main>
|
59 |
|
60 |
<footer class="footer container">
|
61 |
-
<span>Built with FastAPI</span>
|
62 |
</footer>
|
63 |
|
64 |
<script>
|
|
|
16 |
<header class="page-header" id="site-header">
|
17 |
<div class="container">
|
18 |
<h1>YKS LLM Leaderboard</h1>
|
|
|
19 |
</div>
|
20 |
</header>
|
21 |
|
|
|
57 |
</main>
|
58 |
|
59 |
<footer class="footer container">
|
|
|
60 |
</footer>
|
61 |
|
62 |
<script>
|