Muennighoff commited on
Commit
e03b0a1
1 Parent(s): 1211bb2

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +22 -18
index.html CHANGED
@@ -1,19 +1,23 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
19
  </html>
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>MTEB Arena</title>
8
+ <script>
9
+ document.addEventListener("DOMContentLoaded", function() {
10
+ var gradioURL = "https://d7255b4441765deb6d.gradio.live/"; // Your variable URL
11
+ var iframe = document.getElementById("gradioIframe");
12
+ var link = document.getElementById("gradioLink");
13
+ if (iframe) iframe.src = gradioURL;
14
+ if (link) link.href = gradioURL;
15
+ });
16
+ </script>
17
+ </head>
18
+ <body>
19
+ <iframe id="gradioIframe" width="100%" height="100%" style="border:none;">
20
+ Your browser does not support iframes. Please click this <a id="gradioLink">url</a>.
21
+ </iframe>
22
+ </body>
23
  </html>