disable onnx.wasm.proxy
This commit is contained in:
parent
c1552c5b18
commit
8aa28fb557
@ -7,6 +7,7 @@ const {env, pipeline} = require("@xenova/transformers");
|
||||
const path = require("path");
|
||||
env.allowRemoteModels = false;
|
||||
env.localModelPath = path.resolve(__dirname, "./models/transformers").replace(/\\/g, "/");
|
||||
env.backends.onnx.wasm.proxy = false;
|
||||
|
||||
const models = require("./models");
|
||||
const db = models.db;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user