re-layout of main settings

This commit is contained in:
Vladimir Mandic
2023-09-13 13:01:10 -04:00
parent 76c444fbc8
commit 336bc0de40
7 changed files with 30 additions and 25 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ def draw_xy_grid(xs, ys, x_label, y_label, cell):
class Script(scripts.Script):
def title(self):
return "Prompt matrix"
return "Prompt Matrix"
def ui(self, is_img2img):
gr.HTML('<br />')
+1 -1
View File
@@ -101,7 +101,7 @@ def load_prompt_file(file):
class Script(scripts.Script):
def title(self):
return "Prompts from file"
return "Prompts from File"
def ui(self, is_img2img):
checkbox_iterate = gr.Checkbox(label="Iterate seed every line", value=False, elem_id=self.elem_id("checkbox_iterate"))
+1 -1
View File
@@ -375,7 +375,7 @@ re_range_count_float = re.compile(r"\s*([+-]?\s*\d+(?:.\d*)?)\s*-\s*([+-]?\s*\d+
class Script(scripts.Script):
def title(self):
return "X/Y/Z grid"
return "X/Y/Z Grid"
def ui(self, is_img2img):
self.current_axis_options = [x for x in axis_options if type(x) == AxisOption or x.is_img2img == is_img2img]