diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-01-23 06:24:43 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-01-23 06:24:43 +0000 |
commit | b5230197a69d36a79fdc4919c59a03e00e872dd3 (patch) | |
tree | 05f238653fd8fb48d736e98ad69ef4b482764347 /modules/shared.py | |
parent | 68303c96e5ab31576a8238a24bf5b6191cf16ed1 (diff) | |
download | stable-diffusion-webui-gfx803-b5230197a69d36a79fdc4919c59a03e00e872dd3.tar.gz stable-diffusion-webui-gfx803-b5230197a69d36a79fdc4919c59a03e00e872dd3.tar.bz2 stable-diffusion-webui-gfx803-b5230197a69d36a79fdc4919c59a03e00e872dd3.zip |
rework extras tab to use script system
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 cd78e50a..cb73bf31 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -474,6 +474,11 @@ options_templates.update(options_section(('sampler-params', "Sampler parameters" 'always_discard_next_to_last_sigma': OptionInfo(False, "Always discard next-to-last sigma"),
}))
+options_templates.update(options_section(('postprocessing', "Postprocessing"), {
+ 'postprocessing_scipts_order': OptionInfo("upscale, gfpgan, codeformer", "Postprocessing operation order"),
+ 'upscaling_max_images_in_cache': OptionInfo(5, "Maximum number of images in upscaling cache", gr.Slider, {"minimum": 0, "maximum": 10, "step": 1}),
+}))
+
options_templates.update(options_section((None, "Hidden options"), {
"disabled_extensions": OptionInfo([], "Disable those extensions"),
"sd_checkpoint_hash": OptionInfo("", "SHA256 hash of the current checkpoint"),
|