aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreaglgenes101 <eaglgenes101@gmail.com>2022-12-25 03:16:01 +0000
committereaglgenes101 <eaglgenes101@gmail.com>2022-12-25 03:16:01 +0000
commitf60c24f8121186f8d85f1096a96ddf685f625d04 (patch)
tree698f9101a2fdc023db2a0de2aa5658094d62e21d
parentc5bdba2089dc7060be2631bcbc83313b6358cbf2 (diff)
downloadstable-diffusion-webui-gfx803-f60c24f8121186f8d85f1096a96ddf685f625d04.tar.gz
stable-diffusion-webui-gfx803-f60c24f8121186f8d85f1096a96ddf685f625d04.tar.bz2
stable-diffusion-webui-gfx803-f60c24f8121186f8d85f1096a96ddf685f625d04.zip
Add CSS classes for the settings panels
-rw-r--r--modules/ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 9dec61d5..65af8966 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -657,7 +657,7 @@ def create_ui():
setup_progressbar(progressbar, txt2img_preview, 'txt2img')
with gr.Row().style(equal_height=False):
- with gr.Column(variant='panel'):
+ with gr.Column(variant='panel', elem_id="txt2img_settings"):
steps = gr.Slider(minimum=1, maximum=150, step=1, label="Sampling Steps", value=20)
sampler_index = gr.Radio(label='Sampling method', elem_id="txt2img_sampling", choices=[x.name for x in samplers], value=samplers[0].name, type="index")
@@ -812,7 +812,7 @@ def create_ui():
setup_progressbar(progressbar, img2img_preview, 'img2img')
with gr.Row().style(equal_height=False):
- with gr.Column(variant='panel'):
+ with gr.Column(variant='panel', elem_id="img2img_settings"):
with gr.Tabs(elem_id="mode_img2img") as tabs_img2img_mode:
with gr.TabItem('img2img', id='img2img'):