"save_txt":OptionInfo(False,"Create a text file next to every image with generation parameters."),
"save_txt":OptionInfo(False,"Create a text file next to every image with generation parameters."),
"ESRGAN_tile":OptionInfo(192,"Tile size for ESRGAN upscalers. 0 = no tiling.",gr.Slider,{"minimum":0,"maximum":512,"step":16}),
"ESRGAN_tile":OptionInfo(192,"Tile size for ESRGAN upscalers. 0 = no tiling.",gr.Slider,{"minimum":0,"maximum":512,"step":16}),
"ESRGAN_tile_overlap":OptionInfo(8,"Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.",gr.Slider,{"minimum":0,"maximum":48,"step":1}),
"ESRGAN_tile_overlap":OptionInfo(8,"Tile overlap, in pixels for ESRGAN upscalers. Low values = visible seam.",gr.Slider,{"minimum":0,"maximum":48,"step":1}),
"realesrgan_enabled_models":OptionInfo(
"realesrgan_enabled_models":OptionInfo(["Real-ESRGAN 4x plus","Real-ESRGAN 4x plus anime 6B"],"Select which RealESRGAN models to show in the web UI. (Requires restart)",gr.CheckboxGroup,lambda:{"choices":realesrgan_models_names()}),
["Real-ESRGAN 2x plus","Real-ESRGAN 4x plus","Real-ESRGAN 4x plus anime 6B"],
"Select which RealESRGAN models to show in the web UI. (Requires restart)",
"random_artist_categories":OptionInfo([],"Allowed categories for random artists selection when using the Roll button",gr.CheckboxGroup,{"choices":artist_db.categories()}),
"random_artist_categories":OptionInfo([],"Allowed categories for random artists selection when using the Roll button",gr.CheckboxGroup,{"choices":artist_db.categories()}),
"upscale_at_full_resolution_padding":OptionInfo(16,"Inpainting at full resolution: padding, in pixels, for the masked region.",gr.Slider,{"minimum":0,"maximum":128,"step":4}),
"upscale_at_full_resolution_padding":OptionInfo(16,"Inpainting at full resolution: padding, in pixels, for the masked region.",gr.Slider,{"minimum":0,"maximum":128,"step":4}),
"upscaler_for_hires_fix":OptionInfo(None,"Upscaler for highres. fix",gr.Radio,lambda:{"choices":[x.nameforxinsd_upscalers]}),
"upscaler_for_hires_fix":OptionInfo(None,"Upscaler for highres. fix",gr.Radio,lambda:{"choices":[x.nameforxinsd_upscalers]}),