Skip to content

Commit

Permalink
add option: Live preview in full page image viewer
Browse files Browse the repository at this point in the history
make AUTOMATIC1111#13459 "show the preview image in the modal view if available" optional
  • Loading branch information
w-e-w authored and ruchej committed Sep 30, 2024
1 parent 28130bf commit 99a55ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/shared_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@
"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"),
"js_live_preview_in_modal_lightbox": OptionInfo(False, "Show Live preview in full page image viewer"),
"js_live_preview_in_modal_lightbox": OptionInfo(True, "Show Live preview in full page image viewer"),
}))

options_templates.update(options_section(('sampler-params', "Sampler parameters", "sd"), {
Expand Down

0 comments on commit 99a55ca

Please sign in to comment.