add nsfw image censoring via config and checkbox by mashb1t · Pull Request #958 · lllyasviel/Fooocus
mashb1t
changed the title
add nsfw image censoring via config
add nsfw image censoring via config and checkbox
large change, may depend on other changes, thoroughly test
This PR introduces changes to packages
labels
Feb 9, 2024# Conflicts: # modules/advanced_parameters.py # modules/async_worker.py # modules/config.py # webui.py
mashb1t
changed the base branch from
main
to
develop
csokun pushed a commit to csokun/Fooocus that referenced this pull request
Jun 16, 2024* add nsfw image censoring activatable via config, uses CompVis/stable-diffusion-safety-checker * fix progressbar call for nsfw output * use config to set cache dir for safety checker * add checkbox black_out_nsfw makes both enabling via config and checkbox possible, where config overrides the checkbox value * fix: add missing diffusers package * feat: extract safety checker, remove dependency to diffusers * feat: make code compatible again after merge with main * feat: move censor to extras, optimize safety checker file handling * refactor: rename folder safety_checker_models to safety_checker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters