diff options
author | 不会画画的中医不是好程序员 <yfszzx@gmail.com> | 2022-10-13 04:35:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 04:35:39 +0000 |
commit | 0186db178e12b94eae559827594898c0611f1c0c (patch) | |
tree | 03390c1a8f8908002f39770d54626ef7b3fa565d /modules/shared.py | |
parent | 716a9e034f1aff434083363b218bd6043a774fc2 (diff) | |
parent | 698d303b04e293635bfb49c525409f3bcf671dce (diff) | |
download | stable-diffusion-webui-gfx803-0186db178e12b94eae559827594898c0611f1c0c.tar.gz stable-diffusion-webui-gfx803-0186db178e12b94eae559827594898c0611f1c0c.tar.bz2 stable-diffusion-webui-gfx803-0186db178e12b94eae559827594898c0611f1c0c.zip |
Merge branch 'AUTOMATIC1111:master' into master
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/shared.py b/modules/shared.py index 42e99741..78b73aae 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -231,6 +231,9 @@ options_templates.update(options_section(('system', "System"), { options_templates.update(options_section(('training', "Training"), {
"unload_models_when_training": OptionInfo(False, "Unload VAE and CLIP from VRAM when training"),
+ "dataset_filename_word_regex": OptionInfo("", "Filename word regex"),
+ "dataset_filename_join_string": OptionInfo(" ", "Filename join string"),
+ "training_image_repeats_per_epoch": OptionInfo(100, "Number of repeats for a single input image per epoch; used only for displaying epoch number", gr.Number, {"precision": 0}),
}))
options_templates.update(options_section(('sd', "Stable Diffusion"), {
@@ -257,6 +260,8 @@ options_templates.update(options_section(('interrogate', "Interrogate Options"), "interrogate_clip_max_length": OptionInfo(48, "Interrogate: maximum description length", gr.Slider, {"minimum": 1, "maximum": 256, "step": 1}),
"interrogate_deepbooru_score_threshold": OptionInfo(0.5, "Interrogate: deepbooru score threshold", gr.Slider, {"minimum": 0, "maximum": 1, "step": 0.01}),
"deepbooru_sort_alpha": OptionInfo(True, "Interrogate: deepbooru sort alphabetically"),
+ "deepbooru_use_spaces": OptionInfo(False, "use spaces for tags in deepbooru"),
+ "deepbooru_escape": OptionInfo(True, "escape (\\) brackets in deepbooru (so they are used as literal brackets and not for emphasis)"),
}))
options_templates.update(options_section(('ui', "User interface"), {
|