diff --git a/structures/Client.js b/structures/Client.js index 5c986418..15fd62bd 100644 --- a/structures/Client.js +++ b/structures/Client.js @@ -188,8 +188,8 @@ module.exports = class XiaoClient extends CommandoClient { async loadNSFWModel() { const model = await nsfw.load( - path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model'), - { type: 'graph' } + // url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model')).href, + // { type: 'graph' } ); this.nsfwModel = model; return this.nsfwModel;