This commit is contained in:
Dragon Fire
2021-03-22 18:23:32 -04:00
parent c7f43ec74d
commit 9f15790558
+1 -1
View File
@@ -221,7 +221,7 @@ module.exports = class Util {
static async isImageNSFW(model, image, bool = true) {
const dimensions = sizeOf(image);
const data = {
data: new Uint8Array(image),
data: image,
width: dimensions.width,
height: dimensions.height
};