Skip to content

Commit

Permalink
fix: add logger import
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Schuettler <markus.schuettler@tngtech.com>
  • Loading branch information
mschuettlerTNG committed Feb 28, 2025
1 parent 46f5e7b commit 5a65baf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/comfyui_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def download_custom_node(node_repo_data: ComfyUICustomNodesGithubRepoId) -> bool
SCORE = 0.965 # 0.965 and less - is safety content
logging.getLogger('transformers').setLevel(logging.ERROR)
from scripts.reactor_logger import logger
def nsfw_image(img_path: str, model_path: str):
with Image.open(img_path) as img:
Expand Down

0 comments on commit 5a65baf

Please sign in to comment.