From b5e13f77d94036caabbc1aae559ec47a8e2b5854 Mon Sep 17 00:00:00 2001 From: anapnoe <124302297+anapnoe@users.noreply.github.com> Date: Sat, 4 Feb 2023 08:43:02 +0200 Subject: [PATCH] Fixed missing pix2pix --- modules/ui.py | 2 +- style.css | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/ui.py b/modules/ui.py index 5c0f5355..92396a2a 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -862,7 +862,7 @@ def create_ui(): batch_size = gr.Slider(minimum=1, maximum=8, step=1, label='Batch size', value=1, elem_id="img2img_batch_size") - elif category == "cfg": + elif category == "cfg": with FormRow(): cfg_scale = gr.Slider(minimum=1.0, maximum=30.0, step=0.5, label='CFG Scale', value=7.0, elem_id="img2img_cfg_scale") image_cfg_scale = gr.Slider(minimum=0, maximum=3.0, step=0.05, label='Image CFG Scale (for instruct-pix2pix models only)', value=1.5, elem_id="img2img_image_cfg_scale") diff --git a/style.css b/style.css index 9f28578c..d58c2285 100644 --- a/style.css +++ b/style.css @@ -1398,9 +1398,6 @@ img2maskimg { min-height: unset !important; } -div#group-seed>div { - margin-bottom: 0; -} div.sub-group { padding: 9px 9px 0;