Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -88,7 +88,7 @@
|
|
88 |
<script type="module">
|
89 |
// Prefer keeping all requests on huggingface.co to avoid CORS/VPN issues.
|
90 |
// Option 1 (simple): CDN import (works on many networks)
|
91 |
-
const tf = await import('
|
92 |
// Option 2 (bulletproof): self-host the file in your Space and use:
|
93 |
// const tf = await import('./assets/vendor/transformers.min.js');
|
94 |
|
|
|
88 |
<script type="module">
|
89 |
// Prefer keeping all requests on huggingface.co to avoid CORS/VPN issues.
|
90 |
// Option 1 (simple): CDN import (works on many networks)
|
91 |
+
const tf = await import('https://cdn.jsdelivr.net/npm/@xenova/transformers@2.17.2');
|
92 |
// Option 2 (bulletproof): self-host the file in your Space and use:
|
93 |
// const tf = await import('./assets/vendor/transformers.min.js');
|
94 |
|