aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shared.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-12-10 11:54:02 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-12-10 11:54:16 +0000
commit991e2dcee9d6baa66b5c0b1969c4c07407be933a (patch)
tree8cde65654885dc069aee99994f12ae14ba1aac98 /modules/shared.py
parentd06592267c745b4732026c4e0c499c9a4b3900a1 (diff)
downloadstable-diffusion-webui-gfx803-991e2dcee9d6baa66b5c0b1969c4c07407be933a.tar.gz
stable-diffusion-webui-gfx803-991e2dcee9d6baa66b5c0b1969c4c07407be933a.tar.bz2
stable-diffusion-webui-gfx803-991e2dcee9d6baa66b5c0b1969c4c07407be933a.zip
remove NSFW filter and its dependency; if you still want it, find it in the extensions section
Diffstat (limited to 'modules/shared.py')
-rw-r--r--modules/shared.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py
index 44922c91..272267c1 100644
--- a/modules/shared.py
+++ b/modules/shared.py
@@ -367,7 +367,6 @@ options_templates.update(options_section(('sd', "Stable Diffusion"), {
"use_old_emphasis_implementation": OptionInfo(False, "Use old emphasis implementation. Can be useful to reproduce old seeds."),
"enable_batch_seeds": OptionInfo(True, "Make K-diffusion samplers produce same images in a batch as when making a single image"),
"comma_padding_backtrack": OptionInfo(20, "Increase coherency by padding from the last comma within n tokens when using more than 75 tokens", gr.Slider, {"minimum": 0, "maximum": 74, "step": 1 }),
- "filter_nsfw": OptionInfo(False, "Filter NSFW content"),
'CLIP_stop_at_last_layers': OptionInfo(1, "Clip skip", gr.Slider, {"minimum": 1, "maximum": 12, "step": 1}),
"random_artist_categories": OptionInfo([], "Allowed categories for random artists selection when using the Roll button", gr.CheckboxGroup, {"choices": artist_db.categories()}),
}))