mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 23:02:00 +03:00
Negative classifier free guidance scale
This commit is contained in:
parent
3c6e5c26a1
commit
94f064fa81
@ -27,7 +27,7 @@ def draw_gradio_ui(opt, img2img=lambda x: x, txt2img=lambda x: x, txt2img_defaul
|
||||
value=txt2img_defaults["height"])
|
||||
txt2img_width = gr.Slider(minimum=64, maximum=2048, step=64, label="Width",
|
||||
value=txt2img_defaults["width"])
|
||||
txt2img_cfg = gr.Slider(minimum=1.0, maximum=30.0, step=0.5,
|
||||
txt2img_cfg = gr.Slider(minimum=-40.0, maximum=30.0, step=0.5,
|
||||
label='Classifier Free Guidance Scale (how strongly the image should follow the prompt)',
|
||||
value=txt2img_defaults['cfg_scale'])
|
||||
txt2img_seed = gr.Textbox(label="Seed (blank to randomize)", lines=1, max_lines=1,
|
||||
@ -208,7 +208,7 @@ def draw_gradio_ui(opt, img2img=lambda x: x, txt2img=lambda x: x, txt2img_defaul
|
||||
visible=RealESRGAN is not None) # TODO: Feels like I shouldnt slot it in here.
|
||||
|
||||
|
||||
img2img_cfg = gr.Slider(minimum=1.0, maximum=30.0, step=0.5,
|
||||
img2img_cfg = gr.Slider(minimum=-40.0, maximum=30.0, step=0.5,
|
||||
label='Classifier Free Guidance Scale (how strongly the image should follow the prompt)',
|
||||
value=img2img_defaults['cfg_scale'])
|
||||
img2img_denoising = gr.Slider(minimum=0.0, maximum=1.0, step=0.01, label='Denoising Strength',
|
||||
|
Loading…
Reference in New Issue
Block a user