From 3ea4eb867a0ab363345837317b2db67c61b5bc71 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 22 Mar 2021 17:39:08 -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 47a3f388..6cea4a98 100644 --- a/structures/Client.js +++ b/structures/Client.js @@ -187,7 +187,7 @@ module.exports = class XiaoClient extends CommandoClient { } async loadNSFWModel() { - const model = await nsfw.load(url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'nsfw'))); + const model = await nsfw.load(url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model'))); this.nsfwModel = model; return this.nsfwModel; }