Spaces:
Running
Running
Update index.html
Browse files- index.html +12 -3
index.html
CHANGED
@@ -4,10 +4,19 @@
|
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Vision Arena by WildVision Team</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
</head>
|
8 |
<body>
|
9 |
-
<iframe
|
10 |
-
Your browser does not support iframes. Please click this <a
|
11 |
</iframe>
|
12 |
</body>
|
13 |
-
</html>
|
|
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Vision Arena by WildVision Team</title>
|
7 |
+
<script>
|
8 |
+
document.addEventListener("DOMContentLoaded", function() {
|
9 |
+
var gradioURL = "https://f1ffa2e2476262d276.gradio.live/?__theme=light"; // Your variable URL
|
10 |
+
var iframe = document.getElementById("gradioIframe");
|
11 |
+
var link = document.getElementById("gradioLink");
|
12 |
+
if (iframe) iframe.src = gradioURL;
|
13 |
+
if (link) link.href = gradioURL;
|
14 |
+
});
|
15 |
+
</script>
|
16 |
</head>
|
17 |
<body>
|
18 |
+
<iframe id="gradioIframe" width="100%" height="100%" style="border:none;">
|
19 |
+
Your browser does not support iframes. Please click this <a id="gradioLink">url</a>.
|
20 |
</iframe>
|
21 |
</body>
|
22 |
+
</html>
|