diff --git a/structures/Client.js b/structures/Client.js index 6cea4a98..549a4560 100644 --- a/structures/Client.js +++ b/structures/Client.js @@ -187,7 +187,9 @@ module.exports = class XiaoClient extends CommandoClient { } async loadNSFWModel() { - const model = await nsfw.load(url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model'))); + const model = await nsfw.load( + url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model', 'model.json')) + ); this.nsfwModel = model; return this.nsfwModel; }