diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-08-12 19:12:37 +0000 |
---|---|---|
committer | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-08-13 05:09:38 +0000 |
commit | 0e3bac8132e63a9adfca0223b4791f353ecb1057 (patch) | |
tree | 2cf20cc1475dc7faba5e94c4b80180e160083365 /scripts | |
parent | dc5b5ee9c6beef9fa6ac9e8f9041063075e8d1e6 (diff) | |
download | stable-diffusion-webui-gfx803-0e3bac8132e63a9adfca0223b4791f353ecb1057.tar.gz stable-diffusion-webui-gfx803-0e3bac8132e63a9adfca0223b4791f353ecb1057.tar.bz2 stable-diffusion-webui-gfx803-0e3bac8132e63a9adfca0223b4791f353ecb1057.zip |
rephrase and move
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/xyz_grid.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/xyz_grid.py b/scripts/xyz_grid.py index 0350e52a..da0e48aa 100644 --- a/scripts/xyz_grid.py +++ b/scripts/xyz_grid.py @@ -421,9 +421,10 @@ class Script(scripts.Script): include_lone_images = gr.Checkbox(label='Include Sub Images', value=False, elem_id=self.elem_id("include_lone_images"))
include_sub_grids = gr.Checkbox(label='Include Sub Grids', value=False, elem_id=self.elem_id("include_sub_grids"))
with gr.Column():
- csv_mode = gr.Checkbox(label='CSV mode', value=False, elem_id=self.elem_id("CSV mode"))
- with gr.Column():
margin_size = gr.Slider(label="Grid margins (px)", minimum=0, maximum=500, value=0, step=2, elem_id=self.elem_id("margin_size"))
+ with gr.Column():
+ csv_mode = gr.Checkbox(label='Use text inputs instead of dropdowns', value=False, elem_id=self.elem_id("csv_mode"))
+
with gr.Row(variant="compact", elem_id="swap_axes"):
swap_xy_axes_button = gr.Button(value="Swap X/Y axes", elem_id="xy_grid_swap_axes_button")
|