Jae-Won Chung commited on
Commit
3139fa8
1 Parent(s): 1fc38bc

Add social tags

Browse files
Files changed (2) hide show
  1. assets/og_image.png +0 -0
  2. index.html +34 -2
assets/og_image.png ADDED
index.html CHANGED
@@ -3,8 +3,31 @@
3
  <head>
4
  <title>ML.ENERGY Leaderboard</title>
5
  <meta charset="UTF-8">
 
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
- <script type="module" src="https://gradio.s3-us-west-2.amazonaws.com/3.23.0/gradio.js"></script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  <!-- Google tag (gtag.js) -->
9
  <script async src="https://www.googletagmanager.com/gtag/js?id=G-8NM6L1X6ML"></script>
10
  <script>
@@ -14,8 +37,17 @@
14
 
15
  gtag('config', 'G-8NM6L1X6ML');
16
  </script>
 
 
 
 
 
 
 
 
 
17
  </head>
18
  <body>
19
- <gradio-app src="https://ml-energy-leaderboard.hf.space?__theme=light"></gradio-app>
20
  </body>
21
  </html>
 
3
  <head>
4
  <title>ML.ENERGY Leaderboard</title>
5
  <meta charset="UTF-8">
6
+
7
  <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <!-- HTML Meta Tags -->
9
+ <title>ML.ENERGY Leaderboard</title>
10
+ <meta name="description" content="An Energy Leaderboard for LLMs">
11
+ <!-- Opengraph Meta Tags -->
12
+ <meta property="og:url" content="https://ml.energy/leaderboard">
13
+ <meta property="og:type" content="website">
14
+ <meta property="og:title" content="ML.ENERGY Leaderboard">
15
+ <meta property="og:description" content="An Energy Leaderboard for LLMs">
16
+ <meta property="og:image" content="https://ml.energy/leaderboard/assets/og_image.png">
17
+ <!-- Twitter Meta Tags -->
18
+ <meta name="twitter:card" content="summary_large_image">
19
+ <meta property="twitter:domain" content="ml.energy">
20
+ <meta property="twitter:url" content="https://ml.energy/leaderboard">
21
+ <meta name="twitter:title" content="ML.ENERGY Leaderboard">
22
+ <meta name="twitter:description" content="An Energy Leaderboard for LLMs">
23
+ <meta name="twitter:image" content="https://ml.energy/leaderboard/assets/og_image.png">
24
+ <!-- Favicon -->
25
+ <link rel="apple-touch-icon" sizes="180x180" href="/assets/img/favicon/apple-touch-icon.png">
26
+ <link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon/favicon-32x32.png">
27
+ <link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon/favicon-16x16.png">
28
+ <link rel="manifest" href="/assets/img/favicon/site.webmanifest">
29
+ <!-- Gradio embedding -->
30
+ <script type="module" src="https://gradio.s3-us-west-2.amazonaws.com/3.35.2/gradio.js"></script>
31
  <!-- Google tag (gtag.js) -->
32
  <script async src="https://www.googletagmanager.com/gtag/js?id=G-8NM6L1X6ML"></script>
33
  <script>
 
37
 
38
  gtag('config', 'G-8NM6L1X6ML');
39
  </script>
40
+ <!-- Force light theme -->
41
+ <script>
42
+ window.addEventListener('load', function () {
43
+ gradioURL = window.location.href
44
+ if (!gradioURL.endsWith('?__theme=light')) {
45
+ window.location.replace(gradioURL + '?__theme=light');
46
+ }
47
+ });
48
+ </script>
49
  </head>
50
  <body>
51
+ <gradio-app src="https://ml-energy-leaderboard.hf.space"></gradio-app>
52
  </body>
53
  </html>