aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2022-12-25 09:17:34 +0300
committerGitHub <noreply@github.com>2022-12-25 09:17:34 +0300
commit7b7f7e9361bda6e184fdee52c2fd277048a46f49 (patch)
treebdbb55a078b8238d39c8dcd98c099e793ef98201
parentb12de850ae8bcd6f99817c6622b4cd2f04410ff5 (diff)
parentf60c24f8121186f8d85f1096a96ddf685f625d04 (diff)
Merge pull request #6003 from eaglgenes101/settings-css-classes
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 7bf5abd9..57ee0465 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'):