Tweak NSFW threshold

Of course it’ll have a few false positives, but this seems to work well
with the 0x0.st dataset.
master
Martin Herkt 7 years ago
parent c3c29ab500
commit 04b46bd01a
No known key found for this signature in database
GPG Key ID: C24B9CD04DC6AE7F

@ -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

Loading…
Cancel
Save