diff options
author | Martin Herkt <lachs0r@srsfckn.biz> | 2017-10-27 09:38:19 +0200 |
---|---|---|
committer | Martin Herkt <lachs0r@srsfckn.biz> | 2017-10-27 09:38:19 +0200 |
commit | 04b46bd01a78c19f8b0a0189f0b30f554cd62691 (patch) | |
tree | cadac4ead89df52b1fbfb0c24b457ea3a38384e0 | |
parent | Faster query commands, add removed query filter (diff) | |
download | hex-zero-04b46bd01a78c19f8b0a0189f0b30f554cd62691.tar.gz hex-zero-04b46bd01a78c19f8b0a0189f0b30f554cd62691.tar.bz2 hex-zero-04b46bd01a78c19f8b0a0189f0b30f554cd62691.zip |
Tweak NSFW threshold
Of course it’ll have a few false positives, but this seems to work well
with the 0x0.st dataset.
-rwxr-xr-x | fhost.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ app.config["FHOST_MIME_BLACKLIST"] = [ app.config["FHOST_UPLOAD_BLACKLIST"] = "tornodes.txt" app.config["NSFW_DETECT"] = True -app.config["NSFW_THRESHOLD"] = 0.7 +app.config["NSFW_THRESHOLD"] = 0.608 if app.config["NSFW_DETECT"]: from nsfw_detect import NSFWDetector |