"samples_filename_format":OptionInfo("","Samples filename format using following tags: [steps], [cfg], [prompt], [prompt_spaces], [width], [height], [sampler], [seed], [model_hash]. Leave blank for default."),
"save_to_dirs":OptionInfo(False,"Save images to a subdirectory"),
"grid_save_to_dirs":OptionInfo(False,"Save grids to subdirectory"),
"directories_filename_pattern":OptionInfo("","Directory name pattern"),
"outdir_samples":OptionInfo("","Output directory for images; if empty, defaults to two directories below",component_args=hide_dirs),
"outdir_samples":OptionInfo("","Output directory for images; if empty, defaults to two directories below",component_args=hide_dirs),
"outdir_txt2img_samples":OptionInfo("outputs/txt2img-images",'Output directory for txt2img images',component_args=hide_dirs),
"outdir_txt2img_samples":OptionInfo("outputs/txt2img-images",'Output directory for txt2img images',component_args=hide_dirs),
"outdir_img2img_samples":OptionInfo("outputs/img2img-images",'Output directory for img2img images',component_args=hide_dirs),
"outdir_img2img_samples":OptionInfo("outputs/img2img-images",'Output directory for img2img images',component_args=hide_dirs),
...
@@ -105,9 +108,6 @@ class Options:
...
@@ -105,9 +108,6 @@ class Options:
"outdir_grids":OptionInfo("","Output directory for grids; if empty, defaults to two directories below",component_args=hide_dirs),
"outdir_grids":OptionInfo("","Output directory for grids; if empty, defaults to two directories below",component_args=hide_dirs),
"outdir_txt2img_grids":OptionInfo("outputs/txt2img-grids",'Output directory for txt2img grids',component_args=hide_dirs),
"outdir_txt2img_grids":OptionInfo("outputs/txt2img-grids",'Output directory for txt2img grids',component_args=hide_dirs),
"outdir_img2img_grids":OptionInfo("outputs/img2img-grids",'Output directory for img2img grids',component_args=hide_dirs),
"outdir_img2img_grids":OptionInfo("outputs/img2img-grids",'Output directory for img2img grids',component_args=hide_dirs),
"save_to_dirs":OptionInfo(False,"When writing images, create a directory with name derived from the prompt"),
"grid_save_to_dirs":OptionInfo(False,"When writing grids, create a directory with name derived from the prompt"),
"save_to_dirs_prompt_len":OptionInfo(10,"When using above, how many words from prompt to put into directory name",gr.Slider,{"minimum":1,"maximum":32,"step":1}),
"outdir_save":OptionInfo("log/images","Directory for saving images using the Save button",component_args=hide_dirs),
"outdir_save":OptionInfo("log/images","Directory for saving images using the Save button",component_args=hide_dirs),
"Sampling steps":"How many times to improve the generated image iteratively; higher values take longer; very low values can produce bad results",
"Sampling steps":"How many times to improve the generated image iteratively; higher values take longer; very low values can produce bad results",
"Sampling method":"Which algorithm to use to produce the image",
"Sampling method":"Which algorithm to use to produce the image",
...
@@ -53,6 +55,9 @@ titles = {
...
@@ -53,6 +55,9 @@ titles = {
"Resize seed from width":"Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution",
"Resize seed from width":"Make an attempt to produce a picture similar to what would have been produced with same seed at specified resolution",
"Interrogate":"Reconstruct frompt from existing image and put it into the prompt field.",
"Interrogate":"Reconstruct frompt from existing image and put it into the prompt field.",
"Images filename pattern":"Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_spaces], [width], [height], [sampler], [seed], [model_hash], [prompt_words], [date]; leave empty for default.",
"Directory name pattern":"Use following tags to define how subdirectories for images and grids are chosen: [steps], [cfg], [prompt], [prompt_spaces], [width], [height], [sampler], [seed], [model_hash], [prompt_words], [date]; leave empty for default.",