xyz grid optimizations

This commit is contained in:
Vladimir Mandic
2023-05-09 10:41:23 -04:00
parent 1288aec459
commit d8a2c32918
5 changed files with 84 additions and 139 deletions
+3 -3
View File
@@ -285,9 +285,9 @@ options_templates.update(options_section(('saving-images', "Image options"), {
"grid_prevent_empty_spots": OptionInfo(True, "Prevent empty spots in grid (when set to autodetect)"),
"n_rows": OptionInfo(-1, "Grid row count; use -1 for autodetect and 0 for it to be same as batch size", gr.Slider, {"minimum": -1, "maximum": 16, "step": 1}),
"save_txt": OptionInfo(False, "Create a text file next to every image with generation parameters"),
"save_images_before_face_restoration": OptionInfo(True, "Save a copy of image before doing face restoration"),
"save_images_before_highres_fix": OptionInfo(True, "Save a copy of image before applying highres fix"),
"save_images_before_color_correction": OptionInfo(True, "Save a copy of image before applying color correction to img2img results"),
"save_images_before_face_restoration": OptionInfo(False, "Save a copy of image before doing face restoration"),
"save_images_before_highres_fix": OptionInfo(False, "Save a copy of image before applying highres fix"),
"save_images_before_color_correction": OptionInfo(False, "Save a copy of image before applying color correction to img2img results"),
"save_mask": OptionInfo(False, "For inpainting, save a copy of the greyscale mask"),
"save_mask_composite": OptionInfo(False, "For inpainting, save a masked composite"),
"jpeg_quality": OptionInfo(85, "Quality for saved jpeg images", gr.Slider, {"minimum": 1, "maximum": 100, "step": 1}),