av-codes commited on
Commit
44003f9
·
verified ·
1 Parent(s): 0b91ab9

fix: use dist path for transformers.js import (WASM file was 404 at package root)

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -396,7 +396,7 @@
396
  </div>
397
 
398
  <script type="module">
399
- import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.0';
400
 
401
  env.allowLocalModels = false;
402
 
 
396
  </div>
397
 
398
  <script type="module">
399
+ import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.0/dist/transformers.min.js';
400
 
401
  env.allowLocalModels = false;
402