add an option to choose what you want to see in live preview (Live preview subject) and moves live preview settings to its own tab

This commit is contained in:
AUTOMATIC
2023-01-14 16:29:23 +03:00
parent 08c6f009a5
commit f94a215abe
3 changed files with 20 additions and 10 deletions

View File

@@ -52,7 +52,7 @@ def check_progress_call(id_part):
image = gr.update(visible=False)
preview_visibility = gr.update(visible=False)
if opts.show_progress_every_n_steps != 0:
if opts.live_previews_enable:
shared.state.set_current_image()
image = shared.state.current_image