CarlaLeaderboards commited on
Commit
d60cf7d
·
verified ·
1 Parent(s): 1624352

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -15
app.py CHANGED
@@ -21,36 +21,35 @@ for d in data:
21
 
22
  html = f"""
23
  <style>
24
- .table-leaderboard {
25
  width: 100%;
26
  border-collapse: separate;
27
  border-spacing: 0 6px;
28
  font-family: sans-serif;
29
- }
30
- .table-leaderboard thead th {
31
  text-align: left;
32
  padding: 10px 12px;
33
  background: #f3f3f3;
34
  font-weight: 600;
35
  font-size: 14px;
36
- }
37
- .table-leaderboard tbody tr {
38
  background: #ffffff;
39
  box-shadow: 0 0 0 1px #e5e5e5;
40
- }
41
- .table-leaderboard td {
42
  padding: 10px 12px;
43
  font-size: 14px;
44
- }
45
- .table-leaderboard a {
46
- color: #d93025; /* Google red style for paper links */
47
  text-decoration: none;
48
- }
49
- .table-leaderboard a:hover {
50
  text-decoration: underline;
51
- }
52
  </style>
53
-
54
  <table class="table-leaderboard">
55
  <thead>
56
  <tr>
@@ -66,7 +65,6 @@ html = f"""
66
  </table>
67
  """
68
 
69
-
70
  with gr.Blocks() as demo:
71
  gr.Markdown("# Bench2Drive Leaderboard")
72
  gr.HTML(html)
 
21
 
22
  html = f"""
23
  <style>
24
+ .table-leaderboard {{
25
  width: 100%;
26
  border-collapse: separate;
27
  border-spacing: 0 6px;
28
  font-family: sans-serif;
29
+ }}
30
+ .table-leaderboard thead th {{
31
  text-align: left;
32
  padding: 10px 12px;
33
  background: #f3f3f3;
34
  font-weight: 600;
35
  font-size: 14px;
36
+ }}
37
+ .table-leaderboard tbody tr {{
38
  background: #ffffff;
39
  box-shadow: 0 0 0 1px #e5e5e5;
40
+ }}
41
+ .table-leaderboard td {{
42
  padding: 10px 12px;
43
  font-size: 14px;
44
+ }}
45
+ .table-leaderboard a {{
46
+ color: #d93025;
47
  text-decoration: none;
48
+ }}
49
+ .table-leaderboard a:hover {{
50
  text-decoration: underline;
51
+ }}
52
  </style>
 
53
  <table class="table-leaderboard">
54
  <thead>
55
  <tr>
 
65
  </table>
66
  """
67
 
 
68
  with gr.Blocks() as demo:
69
  gr.Markdown("# Bench2Drive Leaderboard")
70
  gr.HTML(html)