Skip to content

Commit

Permalink
img2img cfg_scale value
Browse files Browse the repository at this point in the history
  • Loading branch information
hlky committed Oct 19, 2022
1 parent 96148e8 commit 5236d85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/img2img.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ def layout():
seed = st.text_input("Seed:", value=st.session_state['defaults'].img2img.seed, help=" The seed to use, if left blank a random seed will be generated.")

cfg_scale = st.number_input("CFG (Classifier Free Guidance Scale):", min_value=st.session_state['defaults'].img2img.cfg_scale.min_value,
value=st.session_state['defaults'].img2img.cfg_scale.value,
step=st.session_state['defaults'].img2img.cfg_scale.step,
help="How strongly the image should follow the prompt.")

Expand Down

0 comments on commit 5236d85

Please sign in to comment.