diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-30 15:22:50 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-30 15:22:50 +0000 |
commit | ae0b2cc1964486ba847290ad752d9a284b6d63ba (patch) | |
tree | b33b2d49646b0565b0812985d48d23fc0a2ab71d /modules/shared_options.py | |
parent | 0ff8b8fb54ef5ef3994f1244efef0a50a4490628 (diff) | |
download | stable-diffusion-webui-gfx803-ae0b2cc1964486ba847290ad752d9a284b6d63ba.tar.gz stable-diffusion-webui-gfx803-ae0b2cc1964486ba847290ad752d9a284b6d63ba.tar.bz2 stable-diffusion-webui-gfx803-ae0b2cc1964486ba847290ad752d9a284b6d63ba.zip |
add an option to choose how to combine hires fix and refiner
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 78652ea2..00b273fa 100644 --- a/modules/shared_options.py +++ b/modules/shared_options.py @@ -146,6 +146,7 @@ options_templates.update(options_section(('sd', "Stable Diffusion"), { "upcast_attn": OptionInfo(False, "Upcast cross attention layer to float32"),
"randn_source": OptionInfo("GPU", "Random number generator source.", gr.Radio, {"choices": ["GPU", "CPU", "NV"]}, infotext="RNG").info("changes seeds drastically; use CPU to produce the same picture across different videocard vendors; use NV to produce same picture as on NVidia videocards"),
"tiling": OptionInfo(False, "Tiling", infotext='Tiling').info("produce a tileable picture"),
+ "hires_fix_refiner_pass": OptionInfo("second pass", "Hires fix: which pass to enable refiner for", gr.Radio, {"choices": ["first pass", "second pass", "both passes"]}, infotext="Hires refiner"),
}))
options_templates.update(options_section(('sdxl', "Stable Diffusion XL"), {
|