Fooocus/modules
Manuel Schmid 00d3d1b4b3
feat: add nsfw image censoring via config and checkbox (#958)
* 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
2024-05-18 15:50:28 +02:00
..
anisotropic.py 1.0.45 (#313) 2023-09-02 06:00:20 -07:00
async_worker.py feat: add nsfw image censoring via config and checkbox (#958) 2024-05-18 15:50:28 +02:00
auth.py Blocked remote access to auth.json 2023-10-24 21:55:29 +02:00
config.py feat: add nsfw image censoring via config and checkbox (#958) 2024-05-18 15:50:28 +02:00
constants.py Blocked remote access to auth.json 2023-10-24 21:55:29 +02:00
core.py feat: add optional model VAE select (#2867) 2024-05-09 18:59:35 +02:00
default_pipeline.py feat: add optional model VAE select (#2867) 2024-05-09 18:59:35 +02:00
flags.py feat: add optional model VAE select (#2867) 2024-05-09 18:59:35 +02:00
gradio_hijack.py fix: add error output for unsupported images (#2537) 2024-03-15 22:30:29 +01:00
html.py feat: merge webui css into one file 2024-03-11 18:26:04 +01:00
inpaint_worker.py [enhance]: use opencv to rewrite morphological_open(), achieve a 40x speed increase in morphological_open opporation, for inpanting images size smaller than 3k (#2016) 2024-01-27 05:12:34 -08:00
launch_util.py feat: add config for temp path and temp path cleanup on launch (#1992) 2024-03-10 21:11:41 +01:00
localization.py 2.1.808 2023-11-14 14:06:12 -08:00
lora.py 2.1.826 2023-12-12 11:38:05 -08:00
meta_parser.py feat: add optional model VAE select (#2867) 2024-05-09 18:59:35 +02:00
model_loader.py feat: support download of huggingface files from a mirror website (#2637) 2024-04-06 15:25:19 +02:00
ops.py (requested) support AMD 8GB GPUs via Windows DirectML 2023-12-30 06:30:59 -08:00
patch.py feat: advanced params refactoring + prevent users from skipping/stopping other users tasks in queue (#981) 2024-02-24 19:01:06 +01:00
patch_clip.py (requested) support AMD 8GB GPUs via Windows DirectML 2023-12-30 06:30:59 -08:00
patch_precision.py Fix many precision problems 2023-12-16 15:55:53 -08:00
private_logger.py feat: add full raw prompt to history log (#1920) 2024-05-09 20:25:43 +02:00
sample_hijack.py (requested) support AMD 8GB GPUs via Windows DirectML 2023-12-30 06:30:59 -08:00
sdxl_styles.py feat: add random style checkbox to styles selection (#2855) 2024-05-09 19:02:04 +02:00
style_sorter.py Add Marc K3nt3L's styles 2023-12-18 19:01:52 -08:00
ui_gradio_extensions.py fix: do not close meta tag in HTML header (#2740) 2024-05-17 17:25:56 +02:00
upscaler.py 2.1.826 2023-12-12 11:38:05 -08:00
util.py feat: add optional model VAE select (#2867) 2024-05-09 18:59:35 +02:00