Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf586619

Browse files
committed
add ids
1 parentb2453d2 commitf586619

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎modules/ui.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,8 @@ def copy_image(img):
622622
withgr.Column(elem_id="img2img_column_size",scale=4):
623623
selected_scale_tab=gr.Number(value=0,visible=False)
624624

625-
withgr.Tabs():
626-
withgr.Tab(label="Resize to",elem_id="img2img_tab_resize_to")astab_scale_to:
625+
withgr.Tabs(elem_id="img2img_tabs_resize"):
626+
withgr.Tab(label="Resize to",id="to",elem_id="img2img_tab_resize_to")astab_scale_to:
627627
withFormRow():
628628
withgr.Column(elem_id="img2img_column_size",scale=4):
629629
width=gr.Slider(minimum=64,maximum=2048,step=8,label="Width",value=512,elem_id="img2img_width")
@@ -632,7 +632,7 @@ def copy_image(img):
632632
res_switch_btn=ToolButton(value=switch_values_symbol,elem_id="img2img_res_switch_btn",tooltip="Switch width/height")
633633
detect_image_size_btn=ToolButton(value=detect_image_size_symbol,elem_id="img2img_detect_image_size_btn",tooltip="Auto detect size from img2img")
634634

635-
withgr.Tab(label="Resize by",elem_id="img2img_tab_resize_by")astab_scale_by:
635+
withgr.Tab(label="Resize by",id="by",elem_id="img2img_tab_resize_by")astab_scale_by:
636636
scale_by=gr.Slider(minimum=0.05,maximum=4.0,step=0.05,label="Scale",value=1.0,elem_id="img2img_scale")
637637

638638
withFormRow():

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp