img2img_batch_inpaint_mask_dir=gr.Textbox(label="Inpaint batch mask directory (required for inpaint batch processing only)",**shared.hide_dirs,elem_id="img2img_batch_inpaint_mask_dir")
withgr.Accordion("PNG info"):
withgr.Accordion("PNG info",open=False):
img2img_batch_use_png_info=gr.Checkbox(label="Append png info to prompts",**shared.hide_dirs,elem_id="img2img_batch_use_png_info")
img2img_batch_png_info_dir=gr.Textbox(label="PNG info directory",**shared.hide_dirs,placeholder="Leave empty to use input directory",elem_id="img2img_batch_png_info_dir")
img2img_batch_png_info_props=gr.CheckboxGroup(["Prompt","Negative prompt","Seed","CFG scale","Sampler","Steps"],label="Parameters to take from png info",info="Prompts from png info will be appended to prompts set in ui.")