This commit is contained in:
Dragon Fire
2021-03-22 18:11:15 -04:00
parent de4ffb24a6
commit a8657441d5
+1 -1
View File
@@ -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')).href + '/',
`${url.pathToFileURL(path.join(__dirname, '..', 'tf_models', 'nsfw', 'web_model')).href}/`,
{ type: 'graph' }
);
this.nsfwModel = model;