PeterPinetree commited on
Commit
9783073
·
verified ·
1 Parent(s): ef0f6be

Update index.html

Browse files
Files changed (1) hide show
  1. 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('./assets/vendor/transformers.min.js');
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