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:
@@ -324,11 +324,6 @@ default_black_out_nsfw = get_config_item_or_set_default(
|
||||
default_value=False,
|
||||
validator=lambda x: isinstance(x, bool)
|
||||
)
|
||||
default_hide_preview_if_black_out_nsfw = get_config_item_or_set_default(
|
||||
key='default_hide_preview_if_black_out_nsfw',
|
||||
default_value=True,
|
||||
validator=lambda x: isinstance(x, bool)
|
||||
)
|
||||
|
||||
config_dict["default_loras"] = default_loras = default_loras[:5] + [['None', 1.0] for _ in range(5 - len(default_loras))]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user