aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/xy_grid.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2022-11-04 08:00:32 +0000
committerGitHub <noreply@github.com>2022-11-04 08:00:32 +0000
commite9c767d8dba884762b39d36fbd7cd43f818acf24 (patch)
treeb1d1a0cb9a445443ec18524b0c3906e94d21a26e /scripts/xy_grid.py
parentb2c48091db394c2b7d375a33f18d90c924cd4363 (diff)
parent2913b9f02500049c76c3d1469c086767411cefa9 (diff)
downloadstable-diffusion-webui-gfx803-e9c767d8dba884762b39d36fbd7cd43f818acf24.tar.gz
stable-diffusion-webui-gfx803-e9c767d8dba884762b39d36fbd7cd43f818acf24.tar.bz2
stable-diffusion-webui-gfx803-e9c767d8dba884762b39d36fbd7cd43f818acf24.zip
Merge branch 'master' into 7flash/fix-api-compatibility
Diffstat (limited to 'scripts/xy_grid.py')
-rw-r--r--scripts/xy_grid.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py
index f5255786..417ed0d4 100644
--- a/scripts/xy_grid.py
+++ b/scripts/xy_grid.py
@@ -263,12 +263,12 @@ class Script(scripts.Script):
current_axis_options = [x for x in axis_options if type(x) == AxisOption or type(x) == AxisOptionImg2Img and is_img2img]
with gr.Row():
- x_type = gr.Dropdown(label="X type", choices=[x.label for x in current_axis_options], value=current_axis_options[1].label, visible=False, type="index", elem_id="x_type")
- x_values = gr.Textbox(label="X values", visible=False, lines=1)
+ x_type = gr.Dropdown(label="X type", choices=[x.label for x in current_axis_options], value=current_axis_options[1].label, type="index", elem_id="x_type")
+ x_values = gr.Textbox(label="X values", lines=1)
with gr.Row():
- y_type = gr.Dropdown(label="Y type", choices=[x.label for x in current_axis_options], value=current_axis_options[0].label, visible=False, type="index", elem_id="y_type")
- y_values = gr.Textbox(label="Y values", visible=False, lines=1)
+ y_type = gr.Dropdown(label="Y type", choices=[x.label for x in current_axis_options], value=current_axis_options[0].label, type="index", elem_id="y_type")
+ y_values = gr.Textbox(label="Y values", lines=1)
draw_legend = gr.Checkbox(label='Draw legend', value=True)
include_lone_images = gr.Checkbox(label='Include Separate Images', value=False)