print(f"SD upscaling will process a total of {len(work)} images tiled as {len(grid.tiles[0][2])}x{len(grid.tiles)} in a total of {batch_count} batches.")
"ESRGAN_tile_overlap":OptionInfo(8,"Tile overlap, in pixels for ESRGAN upscaling. Low values = visible seam.",gr.Slider,{"minimum":0,"maximum":48,"step":1}),
"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}),