Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Merge remote-tracking branch 'origin/main'
Browse files
app.py
CHANGED
@@ -256,17 +256,6 @@ leaderboard_df = filter_models(
|
|
256 |
# [i.value.name for i in Backend],
|
257 |
)
|
258 |
|
259 |
-
leaderboard_df_filtered = filter_models(
|
260 |
-
leaderboard_df,
|
261 |
-
[t.to_str(" : ") for t in ModelType],
|
262 |
-
list(NUMERIC_INTERVALS.keys()),
|
263 |
-
[i.value.name for i in Precision],
|
264 |
-
[i.value.name for i in AddSpecialTokens],
|
265 |
-
[i.value.name for i in NumFewShots],
|
266 |
-
[i.value.name for i in Version],
|
267 |
-
# [i.value.name for i in Backend],
|
268 |
-
)
|
269 |
-
|
270 |
# DataFrameの初期化部分のみを修正
|
271 |
initial_columns = ["T"] + [
|
272 |
c.name for c in fields(AutoEvalColumn) if (c.never_hidden or c.displayed_by_default) and c.name != "T"
|
|
|
256 |
# [i.value.name for i in Backend],
|
257 |
)
|
258 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
259 |
# DataFrameの初期化部分のみを修正
|
260 |
initial_columns = ["T"] + [
|
261 |
c.name for c in fields(AutoEvalColumn) if (c.never_hidden or c.displayed_by_default) and c.name != "T"
|
style.css
CHANGED
@@ -20,11 +20,7 @@
|
|
20 |
}
|
21 |
|
22 |
#leaderboard-table {
|
23 |
-
margin-top: 15px
|
24 |
-
}
|
25 |
-
|
26 |
-
#leaderboard-table-lite {
|
27 |
-
margin-top: 15px
|
28 |
}
|
29 |
|
30 |
#search-bar-table-box > div:first-child {
|
@@ -44,26 +40,23 @@
|
|
44 |
white-space: nowrap;
|
45 |
}
|
46 |
|
47 |
-
@media(min-width: 700px){
|
48 |
#leaderboard-table td:nth-child(2) {
|
49 |
left: 0;
|
50 |
z-index: 1;
|
51 |
position: sticky;
|
52 |
-
border-right: solid rgba(0,0,0,0.1) !important;
|
53 |
}
|
54 |
}
|
55 |
-
|
56 |
-
@media(min-width: 700px),
|
57 |
-
@media (prefers-color-scheme: light) {
|
58 |
#leaderboard-table td:nth-child(2) {
|
59 |
-
background-color: rgba(255,255,255,0.9) !important;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
-
@media(min-width: 700px)
|
64 |
-
@media (prefers-color-scheme: dark) {
|
65 |
#leaderboard-table td:nth-child(2) {
|
66 |
-
background-color: rgba(52,65,86,0.9) !important;
|
67 |
}
|
68 |
#leaderboard-table td a {
|
69 |
color: white !important;
|
@@ -86,7 +79,7 @@
|
|
86 |
#scale-logo .download {
|
87 |
display: none;
|
88 |
}
|
89 |
-
#filter_type{
|
90 |
border: 0;
|
91 |
padding-left: 0;
|
92 |
padding-top: 0;
|
@@ -94,29 +87,29 @@
|
|
94 |
#filter_type label {
|
95 |
display: flex;
|
96 |
}
|
97 |
-
#filter_type label > span{
|
98 |
margin-top: var(--spacing-lg);
|
99 |
margin-right: 0.5em;
|
100 |
}
|
101 |
-
#filter_type label > .wrap{
|
102 |
width: 103px;
|
103 |
}
|
104 |
-
#filter_type label > .wrap .wrap-inner{
|
105 |
padding: 2px;
|
106 |
}
|
107 |
-
#filter_type label > .wrap .wrap-inner input{
|
108 |
-
width: 1px
|
109 |
}
|
110 |
-
#filter-columns-type{
|
111 |
-
border:0;
|
112 |
-
padding:0.5;
|
113 |
}
|
114 |
-
#filter-columns-size{
|
115 |
-
border:0;
|
116 |
-
padding:0.5;
|
117 |
}
|
118 |
-
#box-filter > .form{
|
119 |
-
border: 0
|
120 |
}
|
121 |
|
122 |
.language-selector {
|
@@ -128,12 +121,12 @@
|
|
128 |
|
129 |
/* Full width space */
|
130 |
.gradio-container {
|
131 |
-
max-width: 95
|
132 |
}
|
133 |
|
134 |
.accordion {
|
135 |
-
min-width: 200px!important;
|
136 |
-
border: solid rgba(175,175,175,0.1) !important;
|
137 |
}
|
138 |
|
139 |
/* make the plotly modebar horizontal */
|
|
|
20 |
}
|
21 |
|
22 |
#leaderboard-table {
|
23 |
+
margin-top: 15px;
|
|
|
|
|
|
|
|
|
24 |
}
|
25 |
|
26 |
#search-bar-table-box > div:first-child {
|
|
|
40 |
white-space: nowrap;
|
41 |
}
|
42 |
|
43 |
+
@media (min-width: 700px) {
|
44 |
#leaderboard-table td:nth-child(2) {
|
45 |
left: 0;
|
46 |
z-index: 1;
|
47 |
position: sticky;
|
48 |
+
border-right: solid rgba(0, 0, 0, 0.1) !important;
|
49 |
}
|
50 |
}
|
51 |
+
@media (min-width: 700px) and (prefers-color-scheme: light) {
|
|
|
|
|
52 |
#leaderboard-table td:nth-child(2) {
|
53 |
+
background-color: rgba(255, 255, 255, 0.9) !important;
|
54 |
}
|
55 |
}
|
56 |
|
57 |
+
@media (min-width: 700px) and (prefers-color-scheme: dark) {
|
|
|
58 |
#leaderboard-table td:nth-child(2) {
|
59 |
+
background-color: rgba(52, 65, 86, 0.9) !important;
|
60 |
}
|
61 |
#leaderboard-table td a {
|
62 |
color: white !important;
|
|
|
79 |
#scale-logo .download {
|
80 |
display: none;
|
81 |
}
|
82 |
+
#filter_type {
|
83 |
border: 0;
|
84 |
padding-left: 0;
|
85 |
padding-top: 0;
|
|
|
87 |
#filter_type label {
|
88 |
display: flex;
|
89 |
}
|
90 |
+
#filter_type label > span {
|
91 |
margin-top: var(--spacing-lg);
|
92 |
margin-right: 0.5em;
|
93 |
}
|
94 |
+
#filter_type label > .wrap {
|
95 |
width: 103px;
|
96 |
}
|
97 |
+
#filter_type label > .wrap .wrap-inner {
|
98 |
padding: 2px;
|
99 |
}
|
100 |
+
#filter_type label > .wrap .wrap-inner input {
|
101 |
+
width: 1px;
|
102 |
}
|
103 |
+
#filter-columns-type {
|
104 |
+
border: 0;
|
105 |
+
padding: 0.5;
|
106 |
}
|
107 |
+
#filter-columns-size {
|
108 |
+
border: 0;
|
109 |
+
padding: 0.5;
|
110 |
}
|
111 |
+
#box-filter > .form {
|
112 |
+
border: 0;
|
113 |
}
|
114 |
|
115 |
.language-selector {
|
|
|
121 |
|
122 |
/* Full width space */
|
123 |
.gradio-container {
|
124 |
+
max-width: 95% !important;
|
125 |
}
|
126 |
|
127 |
.accordion {
|
128 |
+
min-width: 200px !important;
|
129 |
+
border: solid rgba(175, 175, 175, 0.1) !important;
|
130 |
}
|
131 |
|
132 |
/* make the plotly modebar horizontal */
|