diff --git a/configs/webui/webui_streamlit.yaml b/configs/webui/webui_streamlit.yaml index cfbf332..b2b4fa4 100644 --- a/configs/webui/webui_streamlit.yaml +++ b/configs/webui/webui_streamlit.yaml @@ -244,6 +244,12 @@ img2img: max_value: 500 step: 10 + find_noise_steps: + value: 100 + min_value: 0 + max_value: 500 + step: 10 + loopback: True random_seed_loopback: True separate_prompts: False diff --git a/scripts/img2img.py b/scripts/img2img.py index 8722460..e786794 100644 --- a/scripts/img2img.py +++ b/scripts/img2img.py @@ -410,7 +410,9 @@ def layout(): help="" ) noise_mode = noise_mode_list.index(noise_mode) - find_noise_steps = st.slider("Find Noise Steps", value=100, min_value=1, max_value=500) + find_noise_steps = st.slider("Find Noise Steps", value=st.session_state['defaults'].img2img.find_noise_steps.value, + min_value=st.session_state['defaults'].img2img.find_noise_steps.min_value, max_value=st.session_state['defaults'].img2img.find_noise_steps.max_value, + step=st.session_state['defaults'].img2img.find_noise_steps.step) batch_count = st.slider("Batch count.", min_value=st.session_state['defaults'].img2img.batch_count.min_value, max_value=st.session_state['defaults'].img2img.batch_count.max_value, value=st.session_state['defaults'].img2img.batch_count.value, step=st.session_state['defaults'].img2img.batch_count.step, help="How many iterations or batches of images to generate in total.")