From 76f9495180bc8fe74b55ba51ed0d164ea16a703b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 22 Mar 2021 17:57:43 -0400 Subject: [PATCH] Fix --- structures/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structures/Client.js b/structures/Client.js index 64b2e6ec..29f334c2 100644 --- a/structures/Client.js +++ b/structures/Client.js @@ -188,7 +188,7 @@ module.exports = class XiaoClient extends CommandoClient { async loadNSFWModel() { const model = await nsfw.load( - url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model', 'model.json')).href, + url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model')).href, { type: 'graph' } ); this.nsfwModel = model;