add nsfw image censoring via config and checkbox by mashb1t · Pull Request #958 · lllyasviel/Fooocus

@mashb1t

activatable via config, uses CompVis/stable-diffusion-safety-checker
…add-nsfw-filter

# Conflicts:
#	modules/async_worker.py

@mashb1t

…lter

# Conflicts:
#	modules/async_worker.py
#	modules/config.py

@mashb1t

@mashb1t

makes both enabling via config and checkbox possible, where config overrides the checkbox value

@mashb1t

@mashb1t mashb1t changed the title add nsfw image censoring via config add nsfw image censoring via config and checkbox

Dec 30, 2023

@mashb1t

# Conflicts:
#	modules/advanced_parameters.py

@mashb1t

@mashb1t mashb1t added Size L

large change, may depend on other changes, thoroughly test

package change

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

@mashb1t

@mashb1t

@mashb1t

@mashb1t mashb1t changed the base branch from main to develop

May 18, 2024 13:39

@mashb1t

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