diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-12-02 15:01:11 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-12-02 15:01:11 +0000 |
commit | 11d23e8ca55c097ecfa255a05b63f194e25f08be (patch) | |
tree | fa9933ad1e9f0e3b33c89b23781032dc5a66fc4a /modules/shared_options.py | |
parent | 4a666381bf98333ba4512db0f0033df5f6a08771 (diff) | |
download | stable-diffusion-webui-gfx803-11d23e8ca55c097ecfa255a05b63f194e25f08be.tar.gz stable-diffusion-webui-gfx803-11d23e8ca55c097ecfa255a05b63f194e25f08be.tar.bz2 stable-diffusion-webui-gfx803-11d23e8ca55c097ecfa255a05b63f194e25f08be.zip |
remove Train/Preprocessing tab and put all its functionality into extras batch images mode
Diffstat (limited to 'modules/shared_options.py')
-rw-r--r-- | modules/shared_options.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/shared_options.py b/modules/shared_options.py index d8a27180..859dee40 100644 --- a/modules/shared_options.py +++ b/modules/shared_options.py @@ -357,6 +357,7 @@ options_templates.update(options_section(('postprocessing', "Postprocessing", "p 'postprocessing_enable_in_main_ui': OptionInfo([], "Enable postprocessing operations in txt2img and img2img tabs", ui_components.DropdownMulti, lambda: {"choices": [x.name for x in shared_items.postprocessing_scripts()]}),
'postprocessing_operation_order': OptionInfo([], "Postprocessing operation order", ui_components.DropdownMulti, lambda: {"choices": [x.name for x in shared_items.postprocessing_scripts()]}),
'upscaling_max_images_in_cache': OptionInfo(5, "Maximum number of images in upscaling cache", gr.Slider, {"minimum": 0, "maximum": 10, "step": 1}),
+ 'postprocessing_existing_caption_action': OptionInfo("Ignore", "Action for existing captions", gr.Radio, {"choices": ["Ignore", "Keep", "Prepend", "Append"]}).info("when generating captions using postprocessing; Ignore = use generated; Keep = use original; Prepend/Append = combine both"),
}))
options_templates.update(options_section((None, "Hidden options"), {
|