mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-05 00:31:49 -08:00
feat: prevent screen sleep during generation
This commit is contained in:
parent
feee37d75f
commit
1f8f3a6e8b
2 changed files with 26 additions and 0 deletions
|
|
@ -359,6 +359,7 @@ options_templates.update(options_section(('ui', "Live previews", "ui"), {
|
|||
"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"),
|
||||
"js_live_preview_in_modal_lightbox": OptionInfo(False, "Show Live preview in full page image viewer"),
|
||||
"prevent_screen_sleep_during_generation": OptionInfo(True, "Prevent screen sleep during generation"),
|
||||
}))
|
||||
|
||||
options_templates.update(options_section(('sampler-params', "Sampler parameters", "sd"), {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue