mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
Merge branch 'feature/add-nsfw-filter'
# Conflicts: # modules/advanced_parameters.py # webui.py
This commit is contained in:
@@ -62,7 +62,7 @@ def worker():
|
||||
if not isinstance(imgs, list):
|
||||
imgs = [imgs]
|
||||
|
||||
if modules.config.default_black_out_nsfw:
|
||||
if modules.config.default_black_out_nsfw or advanced_parameters.black_out_nsfw:
|
||||
progressbar(async_task, progressbar_index, 'Checking for NSFW content ...')
|
||||
imgs = censor_batch(imgs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user