redirect try 2
Browse files- index.html +15 -36
index.html
CHANGED
@@ -1,39 +1,18 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
}
|
19 |
-
</style>
|
20 |
-
<script src="https://cdn.jsdelivr.net/npm/showdown/dist/showdown.min.js"></script>
|
21 |
-
</head>
|
22 |
-
<body>
|
23 |
-
<div>
|
24 |
-
<p>This leaderboard will soon be deprecated. Please check our new dynamic leaderboard
|
25 |
-
<a href="https://huggingface.co/spaces/vectara/leaderboard" target="_blank">here</a>.
|
26 |
-
</p>
|
27 |
-
</div>
|
28 |
-
<div id="content"></div>
|
29 |
-
<script>
|
30 |
-
fetch('https://raw.githubusercontent.com/vectara/hallucination-leaderboard/main/README.md')
|
31 |
-
.then(response => response.text())
|
32 |
-
.then(text => {
|
33 |
-
var converter = new showdown.Converter({tables: true});
|
34 |
-
var html = converter.makeHtml(text);
|
35 |
-
document.getElementById('content').innerHTML = html;
|
36 |
-
});
|
37 |
-
</script>
|
38 |
-
</body>
|
39 |
</html>
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8" />
|
5 |
+
<title>Redirecting…</title>
|
6 |
+
|
7 |
+
<!-- Works even if JS is disabled -->
|
8 |
+
<meta http-equiv="refresh" content="0;url=https://vectara-leaderboard.hf.space" />
|
9 |
+
</head>
|
10 |
+
<body>
|
11 |
+
<p>If you're not redirected, <a href="https://vectara-leaderboard.hf.space">click here</a>.</p>
|
12 |
+
|
13 |
+
<script>
|
14 |
+
// Immediate redirect for JS-enabled browsers
|
15 |
+
location.replace("https://vectara-leaderboard.hf.space");
|
16 |
+
</script>
|
17 |
+
</body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
</html>
|