This commit is contained in:
Dragon Fire
2021-03-22 17:39:08 -04:00
parent 1658a739df
commit 3ea4eb867a
+1 -1
View File
@@ -187,7 +187,7 @@ module.exports = class XiaoClient extends CommandoClient {
} }
async loadNSFWModel() { 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; this.nsfwModel = model;
return this.nsfwModel; return this.nsfwModel;
} }