remove autotagger
This commit is contained in:
@@ -162,6 +162,7 @@ export default new class {
|
||||
return tags;
|
||||
};
|
||||
async detectNSFW(dest) {
|
||||
return false;
|
||||
const { stdout, stderr } = await exec(
|
||||
`python -c "import sys\nfrom nsfw_detector import predict\nmodel = predict.load_model('./nsfw_model.h5')\nprint(predict.classify(model, './public/b/${dest}'))"`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user