From 54b0e86f2b7e5f174042bc1bd736038053f21cfa Mon Sep 17 00:00:00 2001 From: japandotorg Date: Wed, 25 Sep 2024 17:18:54 +0530 Subject: [PATCH] [Screenshot] remove unwanted debug statements --- screenshot/common/filter.py | 1 - 1 file changed, 1 deletion(-) diff --git a/screenshot/common/filter.py b/screenshot/common/filter.py index dc032fd..c7a5a2c 100644 --- a/screenshot/common/filter.py +++ b/screenshot/common/filter.py @@ -121,6 +121,5 @@ def large(self, image: bytes) -> bool: response: List[Dict[str, Union[str, float]]] = cast( List[Dict[str, Union[str, float]]], self.models["large"](img) ) - log.debug(response) pred: Dict[str, Union[str, float]] = max(response, key=lambda x: x["score"]) return cast(str, pred["label"]).lower() == "nsfw"