mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Spaghetti Command Returns!
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = class Tensorflow {
|
||||
|
||||
async loadTransformerModel() {
|
||||
const model = await tf.loadGraphModel(
|
||||
url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'transformer_separable_js', 'model.json')).href
|
||||
url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'transformer_js', 'model.json')).href
|
||||
);
|
||||
this.transformerModel = model;
|
||||
return this.transformerModel;
|
||||
|
||||
Reference in New Issue
Block a user