@huggingface/transformers 3.0.0-alpha.2 → 3.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6514,10 +6514,7 @@ if (ONNX_ENV?.wasm) {
6514
6514
  // https://onnxruntime.ai/docs/api/js/interfaces/Env.WebAssemblyFlags.html#wasmPaths
6515
6515
  // We use remote wasm files by default to make it easier for newer users.
6516
6516
  // In practice, users should probably self-host the necessary .wasm files.
6517
- // ONNX_ENV.wasm.wasmPaths = 'https://cdn.jsdelivr.net/npm/onnxruntime-web@1.19.0-dev.20240804-ee2fe87e2d/dist/';
6518
- // console.log(apis.IS_FS_AVAILABLE);
6519
- console.log(_env_js__WEBPACK_IMPORTED_MODULE_0__.apis);
6520
- console.log(import.meta.env);
6517
+ ONNX_ENV.wasm.wasmPaths = `https://cdn.jsdelivr.net/npm/@huggingface/transformers@${_env_js__WEBPACK_IMPORTED_MODULE_0__.env.version}/dist/`;
6521
6518
 
6522
6519
  // TODO: Add support for loading WASM files from cached buffer when we upgrade to onnxruntime-web@1.19.0
6523
6520
  // https://github.com/microsoft/onnxruntime/pull/21534
@@ -6979,7 +6976,7 @@ __webpack_require__.r(__webpack_exports__);
6979
6976
 
6980
6977
 
6981
6978
 
6982
- const VERSION = '3.0.0-alpha.0';
6979
+ const VERSION = '3.0.0-alpha.3';
6983
6980
 
6984
6981
  // Check if various APIs are available (depends on environment)
6985
6982
  const IS_BROWSER_ENV = typeof self !== 'undefined';