mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 14:52:31 +03:00
This commit is contained in:
parent
dffdaaaf77
commit
341c13a4de
@ -29,7 +29,7 @@ def draw_gradio_ui(opt, img2img=lambda x: x, txt2img=lambda x: x, txt2img_defaul
|
||||
value=txt2img_defaults["height"])
|
||||
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'])
|
||||
value=txt2img_defaults['cfg_scale'], elem_id='cfg_slider')
|
||||
txt2img_seed = gr.Textbox(label="Seed (blank to randomize)", lines=1, max_lines=1,
|
||||
value=txt2img_defaults["seed"])
|
||||
txt2img_batch_count = gr.Slider(minimum=1, maximum=250, step=1,
|
||||
@ -195,7 +195,7 @@ def draw_gradio_ui(opt, img2img=lambda x: x, txt2img=lambda x: x, txt2img_defaul
|
||||
|
||||
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'])
|
||||
value=img2img_defaults['cfg_scale'], elem_id='cfg_slider')
|
||||
|
||||
img2img_seed = gr.Textbox(label="Seed (blank to randomize)", lines=1, max_lines=1,
|
||||
value=img2img_defaults["seed"])
|
||||
|
Loading…
Reference in New Issue
Block a user