aboutsummaryrefslogtreecommitdiff
path: root/modules/ui.py
diff options
context:
space:
mode:
authorBeinsezii <39478211+Beinsezii@users.noreply.github.com>2023-06-27 15:29:47 -0700
committerGitHub <noreply@github.com>2023-06-27 15:29:47 -0700
commit9d8af4bd6aaf09b8a94dc10dd5e99c82e23dec38 (patch)
treed86d470db2289a31e589a7bd777a38784605313c /modules/ui.py
parent1d7c51fb9f757b5dcdc506f8fc003e6047151567 (diff)
parentfab73f2e7d388ca99cdb3d5de7f36c0b9a1a3b1c (diff)
Merge branch 'AUTOMATIC1111:dev' into dev
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui.py b/modules/ui.py
index e2e3b6da..e3c8e43a 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -773,7 +773,7 @@ def create_ui():
selected_scale_tab = gr.State(value=0)
with gr.Tabs():
- with gr.Tab(label="Resize to") as tab_scale_to:
+ with gr.Tab(label="Resize to", elem_id="img2img_tab_resize_to") as tab_scale_to:
with FormRow():
with gr.Column(elem_id="img2img_column_size", scale=4):
width = gr.Slider(minimum=64, maximum=2048, step=8, label="Width", value=512, elem_id="img2img_width")
@@ -782,7 +782,7 @@ def create_ui():
res_switch_btn = ToolButton(value=switch_values_symbol, elem_id="img2img_res_switch_btn")
detect_image_size_btn = ToolButton(value=detect_image_size_symbol, elem_id="img2img_detect_image_size_btn")
- with gr.Tab(label="Resize by") as tab_scale_by:
+ with gr.Tab(label="Resize by", elem_id="img2img_tab_resize_by") as tab_scale_by:
scale_by = gr.Slider(minimum=0.05, maximum=4.0, step=0.05, label="Scale", value=1.0, elem_id="img2img_scale")
with FormRow():