Commit
·
df17e3a
1
Parent(s):
a222a9a
Update
Browse files- src/assets.py +43 -51
src/assets.py
CHANGED
@@ -1,73 +1,65 @@
|
|
1 |
custom_css = """
|
2 |
-
/* Limit the width of the first AutoEvalColumn so that names don't expand too much */
|
3 |
-
table td:first-child,
|
4 |
-
table th:first-child {
|
5 |
-
max-width: 400px;
|
6 |
-
overflow: auto;
|
7 |
-
white-space: nowrap;
|
8 |
-
}
|
9 |
-
/* Full width space */
|
10 |
.gradio-container {
|
11 |
max-width: 95%!important;
|
12 |
}
|
13 |
-
|
14 |
-
.
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
19 |
}
|
20 |
-
|
21 |
font-size: 16px !important;
|
22 |
}
|
23 |
-
|
24 |
-
|
|
|
25 |
}
|
26 |
-
|
27 |
-
|
28 |
-
transform: scale(1.3);
|
29 |
}
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
}
|
34 |
-
|
35 |
-
|
|
|
36 |
}
|
37 |
-
|
38 |
-
font-size:
|
39 |
}
|
40 |
-
|
41 |
-
|
42 |
-
border: 0;
|
43 |
-
padding-left: 0;
|
44 |
-
padding-top: 0;
|
45 |
}
|
46 |
-
#
|
47 |
-
|
48 |
}
|
49 |
-
#
|
50 |
-
|
51 |
-
margin-right: 0.5em;
|
52 |
}
|
53 |
-
#
|
54 |
-
|
55 |
}
|
56 |
-
#
|
57 |
-
|
58 |
}
|
59 |
-
#
|
60 |
-
|
61 |
}
|
62 |
-
#
|
63 |
-
|
64 |
-
padding:0.5;
|
65 |
}
|
66 |
-
#
|
67 |
-
|
68 |
-
padding:0.5;
|
69 |
}
|
70 |
-
|
71 |
-
|
|
|
|
|
|
|
|
|
72 |
}
|
73 |
"""
|
|
|
1 |
custom_css = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
.gradio-container {
|
3 |
max-width: 95%!important;
|
4 |
}
|
5 |
+
|
6 |
+
.logo {
|
7 |
+
width: 300px;
|
8 |
+
height: auto;
|
9 |
+
margin: 0 auto;
|
10 |
+
max-width: 100%
|
11 |
+
object-fit: contain;
|
12 |
}
|
13 |
+
.text {
|
14 |
font-size: 16px !important;
|
15 |
}
|
16 |
+
|
17 |
+
.tabs button {
|
18 |
+
font-size: 20px;
|
19 |
}
|
20 |
+
.subtabs button {
|
21 |
+
font-size: 20px;
|
|
|
22 |
}
|
23 |
+
|
24 |
+
.descriptive-text span {
|
25 |
+
font-size: 16px !important;
|
26 |
}
|
27 |
+
|
28 |
+
#control-panel span {
|
29 |
+
font-size: 20px !important;
|
30 |
}
|
31 |
+
#search-bar span {
|
32 |
+
font-size: 16px !important;
|
33 |
}
|
34 |
+
#threshold-slider span {
|
35 |
+
font-size: 16px !important;
|
|
|
|
|
|
|
36 |
}
|
37 |
+
#memory-slider span {
|
38 |
+
font-size: 16px !important;
|
39 |
}
|
40 |
+
#columns-checkboxes span {
|
41 |
+
font-size: 16px !important;
|
|
|
42 |
}
|
43 |
+
#backend-checkboxes span {
|
44 |
+
font-size: 16px !important;
|
45 |
}
|
46 |
+
#dtype-checkboxes span {
|
47 |
+
font-size: 16px !important;
|
48 |
}
|
49 |
+
#optimization-checkboxes span {
|
50 |
+
font-size: 16px !important;
|
51 |
}
|
52 |
+
#quantization-checkboxes span {
|
53 |
+
font-size: 16px !important;
|
|
|
54 |
}
|
55 |
+
#kernel-checkboxes span {
|
56 |
+
font-size: 16px !important;
|
|
|
57 |
}
|
58 |
+
|
59 |
+
#leaderboard-table td:first-child,
|
60 |
+
#leaderboard-table th:first-child {
|
61 |
+
max-width: 300px;
|
62 |
+
overflow: auto;
|
63 |
+
white-space: nowrap;
|
64 |
}
|
65 |
"""
|