Spaces:
Running
Running
Update with latest build
Browse files- index.html +2 -9
index.html
CHANGED
|
@@ -2,13 +2,6 @@
|
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
-
<meta http-equiv="Content-Security-Policy" content="connect-src 'self' https://*.huggingface.co https://*.hf.space ws: wss: blob: data:; default-src 'self' 'unsafe-inline' 'unsafe-eval' https: data: blob:;">
|
| 6 |
-
<script>
|
| 7 |
-
// Detect if we're in the Hugging Face wrapper and redirect to static site if needed
|
| 8 |
-
if (window.location.href.includes('huggingface.co/spaces') && !window.location.href.includes('.static.hf.space')) {
|
| 9 |
-
window.location.href = "https://dwb2023-transformers-js-demos.static.hf.space/";
|
| 10 |
-
}
|
| 11 |
-
</script>
|
| 12 |
<link rel="icon" type="image/svg+xml" href="/logo.png" />
|
| 13 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 14 |
<title>Transformers.js Examples</title>
|
|
@@ -20,8 +13,8 @@
|
|
| 20 |
};
|
| 21 |
</script>
|
| 22 |
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
| 23 |
-
<script type="module" crossorigin src="
|
| 24 |
-
<link rel="stylesheet" crossorigin href="
|
| 25 |
</head>
|
| 26 |
<body>
|
| 27 |
<div id="root"></div>
|
|
|
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
<link rel="icon" type="image/svg+xml" href="/logo.png" />
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<title>Transformers.js Examples</title>
|
|
|
|
| 13 |
};
|
| 14 |
</script>
|
| 15 |
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
| 16 |
+
<script type="module" crossorigin src="/assets/index-DVHLcSXM.js"></script>
|
| 17 |
+
<link rel="stylesheet" crossorigin href="/assets/index-BdmsDjw3.css">
|
| 18 |
</head>
|
| 19 |
<body>
|
| 20 |
<div id="root"></div>
|