Spaces:
Running
Running
Update index.html
Browse files- index.html +13 -15
index.html
CHANGED
@@ -13,27 +13,25 @@
|
|
13 |
body {
|
14 |
background: white;
|
15 |
}
|
16 |
-
}
|
17 |
-
html, body {
|
18 |
-
width: 100vw;
|
19 |
-
height: 100vh;
|
20 |
-
margin: 0px;
|
21 |
-
overflow: hidden;
|
22 |
-
}
|
23 |
-
* {
|
24 |
-
box-sizing: border-box;
|
25 |
-
}
|
26 |
-
iframe {
|
27 |
-
border: 0px;
|
28 |
-
width: 100%;
|
29 |
-
height: 100%;
|
30 |
}
|
31 |
</style>
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
</head>
|
34 |
|
35 |
<body>
|
36 |
-
<
|
|
|
|
|
|
|
37 |
</body>
|
38 |
|
39 |
</html>
|
|
|
13 |
body {
|
14 |
background: white;
|
15 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
}
|
17 |
</style>
|
18 |
|
19 |
+
<script>
|
20 |
+
document.addEventListener('DOMContentLoaded', async ()=>{
|
21 |
+
let txt = await fetch('leaderboard.tsv').then(x=>x.text())
|
22 |
+
txt = txt.replaceAll('\t', '</td><td>')
|
23 |
+
txt = txt.replaceAll('\n', '</td></tr><tr><td>')
|
24 |
+
txt = '<table><tr><td>' + txt + '</td></tr></table>'
|
25 |
+
document.body.insertAdjacentHTML('beforeend', txt)
|
26 |
+
})
|
27 |
+
</script>
|
28 |
</head>
|
29 |
|
30 |
<body>
|
31 |
+
<div>
|
32 |
+
<a href="https://gluebenchmark.com/leaderboard/">https://gluebenchmark.com/leaderboard/</a>
|
33 |
+
</div>
|
34 |
+
<br>
|
35 |
</body>
|
36 |
|
37 |
</html>
|