Alvinn-aai commited on
Commit
6f32186
·
1 Parent(s): debcc70

clean up, css attempt

Browse files
Files changed (2) hide show
  1. src/about.py +0 -13
  2. src/display/css_html_js.py +6 -0
src/about.py CHANGED
@@ -2,19 +2,6 @@ from dataclasses import dataclass
2
  from enum import Enum
3
 
4
 
5
- @dataclass
6
- class Task:
7
- benchmark: str
8
- metric: str
9
- col_name: str
10
-
11
-
12
- class Tasks(Enum):
13
- task0 = Task("FormulaOne", "success_rate", "Success Rate (%)")
14
-
15
-
16
- NUM_FEWSHOT = 0
17
-
18
  TITLE = """
19
  <h1 id="space-title" style="
20
  text-align: center;
 
2
  from enum import Enum
3
 
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  TITLE = """
6
  <h1 id="space-title" style="
7
  text-align: center;
src/display/css_html_js.py CHANGED
@@ -8,6 +8,12 @@ custom_css = """
8
  font-size: 18px !important;
9
  }
10
 
 
 
 
 
 
 
11
  #citation-button span {
12
  font-size: 16px !important;
13
  }
 
8
  font-size: 18px !important;
9
  }
10
 
11
+ #formulaone-leaderboar-tab-table {
12
+ font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
13
+ font-size: 16px;
14
+ font-weight: 500;
15
+ }
16
+
17
  #citation-button span {
18
  font-size: 16px !important;
19
  }