diff --git a/nsfw_checker_impl.go b/nsfw_checker_impl.go index cb749f7..157bde6 100644 --- a/nsfw_checker_impl.go +++ b/nsfw_checker_impl.go @@ -58,6 +58,7 @@ func isImageNSFW(url string) bool { tempFile.Close() // close here so the thing can read it below res := nsfwPredictor.Predict(nsfwPredictor.NewImage(tempPath, 3)) + log.Debug().Str("url", url).Str("desc", res.Describe()).Msg("image analyzed") return res.Porn > 0.75 || res.Hentai > 0.75 }