Borchmann commited on
Commit
86d62d0
·
verified ·
1 Parent(s): ffc1674

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. src/about.py +4 -4
  2. src/display/css_html_js.py +26 -2
src/about.py CHANGED
@@ -13,10 +13,10 @@ class Task:
13
  # ---------------------------------------------------
14
  class Tasks(Enum):
15
  # task_key in the json file, metric_key in the json file, name to display in the leaderboard
16
- task0 = Task("overall", "anls", "ANLS (Overall) ⬆️")
17
- task1 = Task("single_evidence", "anls", "ANLS (Single Evidence) ⬆️")
18
- task2 = Task("multi_evidence_same_doc", "anls", "ANLS (Multi-Evidence, Same Doc) ⬆️")
19
- task3 = Task("multi_evidence_multi_doc", "anls", "ANLS (Multi-Evidence, Multi Doc) ⬆️")
20
 
21
 
22
  # Your leaderboard name
 
13
  # ---------------------------------------------------
14
  class Tasks(Enum):
15
  # task_key in the json file, metric_key in the json file, name to display in the leaderboard
16
+ task0 = Task("overall", "anls", "ANLS (Overall)")
17
+ task1 = Task("single_evidence", "anls", "ANLS (Single Evidence)")
18
+ task2 = Task("multi_evidence_same_doc", "anls", "ANLS (Multi-Evidence, Same Doc)")
19
+ task3 = Task("multi_evidence_multi_doc", "anls", "ANLS (Multi-Evidence, Multi Doc)")
20
 
21
 
22
  # Your leaderboard name
src/display/css_html_js.py CHANGED
@@ -101,10 +101,34 @@ table thead th svg,
101
  display: none !important;
102
  }
103
 
104
- /* Make table headers non-clickable */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  .leaderboard table thead th,
106
- .gradio-leaderboard table thead th {
 
 
107
  cursor: default !important;
 
 
 
 
 
 
 
108
  }
109
 
110
  /* Style for inline SVG icons in table */
 
101
  display: none !important;
102
  }
103
 
104
+ /* Style table outer border with MID-BLUE */
105
+ .table-wrap,
106
+ .gradio-leaderboard .table-wrap,
107
+ [class*="table-wrap"],
108
+ div[class*="table"] {
109
+ border-color: #11567F !important;
110
+ }
111
+
112
+ /* Alternative: target the table container */
113
+ .leaderboard table,
114
+ .gradio-leaderboard table,
115
+ #leaderboard-table {
116
+ border: 3px solid #11567F !important;
117
+ }
118
+
119
+ /* Style table headers - increased height and Snowflake dark blue background */
120
  .leaderboard table thead th,
121
+ .gradio-leaderboard table thead th,
122
+ #leaderboard-table thead th,
123
+ table thead th {
124
  cursor: default !important;
125
+ height: 1.5em !important;
126
+ padding-top: 1.5em !important;
127
+ padding-bottom: 1.5em !important;
128
+ background-color: #11567F !important;
129
+ color: white !important;
130
+ text-align: center !important;
131
+ border-color: #11567F !important;
132
  }
133
 
134
  /* Style for inline SVG icons in table */