diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-19 05:05:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-19 05:05:36 +0000 |
commit | 9182dd7e5d4e721f98d8292bfdf597897331fa78 (patch) | |
tree | c3d5192726fa681c2e5ae995cd14c7ab88097542 /modules/shared_options.py | |
parent | f739e3e05d52d6040fec62b561ad37c952ca7d22 (diff) | |
parent | 9d1d63afcaffc57e9dff5bdc59643ddd60f377e4 (diff) | |
download | stable-diffusion-webui-gfx803-9182dd7e5d4e721f98d8292bfdf597897331fa78.tar.gz stable-diffusion-webui-gfx803-9182dd7e5d4e721f98d8292bfdf597897331fa78.tar.bz2 stable-diffusion-webui-gfx803-9182dd7e5d4e721f98d8292bfdf597897331fa78.zip |
Merge pull request #12634 from catboxanon/feat/live-preview-fast-interrupt
Improve interrupt speed
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 79cbb92e..3e4bcaef 100644 --- a/modules/shared_options.py +++ b/modules/shared_options.py @@ -281,6 +281,7 @@ options_templates.update(options_section(('ui', "Live previews"), { "show_progress_type": OptionInfo("Approx NN", "Live preview method", gr.Radio, {"choices": ["Full", "Approx NN", "Approx cheap", "TAESD"]}).info("Full = slow but pretty; Approx NN and TAESD = fast but low quality; Approx cheap = super fast but terrible otherwise"),
"live_preview_content": OptionInfo("Prompt", "Live preview subject", gr.Radio, {"choices": ["Combined", "Prompt", "Negative prompt"]}),
"live_preview_refresh_period": OptionInfo(1000, "Progressbar and preview update period").info("in milliseconds"),
+ "live_preview_fast_interrupt": OptionInfo(False, "Return image with chosen live preview method on interrupt").info("makes interrupts faster"),
}))
options_templates.update(options_section(('sampler-params', "Sampler parameters"), {
|