"Interrogate":"Reconstruct prompt from existing image and put it into the prompt field.",
"Interrogate":"Reconstruct prompt 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], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [job_timestamp]; leave empty for default.",
"Images filename pattern":"Use following tags to define how filenames for images are chosen: [steps], [cfg], [prompt], [prompt_spaces], [width], [height], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; 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], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [job_timestamp]; 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], [styles], [sampler], [seed], [model_hash], [prompt_words], [date], [datetime], [job_timestamp]; leave empty for default.",
"Max prompt words":"Set the maximum number of words to be used in the [prompt_words] option; ATTENTION: If the words are too long, they may exceed the maximum length of the file path that the system can handle",
"Max prompt words":"Set the maximum number of words to be used in the [prompt_words] option; ATTENTION: If the words are too long, they may exceed the maximum length of the file path that the system can handle",
"Loopback":"Process an image, use it as an input, repeat.",
"Loopback":"Process an image, use it as an input, repeat.",
@@ -108,7 +108,7 @@ if not is_installed("torch") or not is_installed("torchvision"):
...
@@ -108,7 +108,7 @@ if not is_installed("torch") or not is_installed("torchvision"):
run(f'"{python}" -m {torch_command}',"Installing torch and torchvision","Couldn't install torch")
run(f'"{python}" -m {torch_command}',"Installing torch and torchvision","Couldn't install torch")
ifnotskip_torch_cuda_test:
ifnotskip_torch_cuda_test:
run_python("import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDINE_ARGS variable to disable this check'")
run_python("import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'")
init_img_with_mask=gr.Image(label="Image for inpainting with mask",show_label=False,elem_id="img2maskimg",source="upload",interactive=True,type="pil",tool="sketch",image_mode="RGBA")
init_img_with_mask=gr.Image(label="Image for inpainting with mask",show_label=False,elem_id="img2maskimg",source="upload",interactive=True,type="pil",tool="sketch",image_mode="RGBA")
init_img_inpaint=gr.Image(label="Image for img2img",show_label=False,source="upload",interactive=True,type="pil",visible=False)
init_img_inpaint=gr.Image(label="Image for img2img",show_label=False,source="upload",interactive=True,type="pil",visible=False,elem_id="img_inpaint_base")
AxisOptionImg2Img("Denoising",float,apply_field("denoising_strength"),format_value_add_label),# as it is now all AxisOptionImg2Img items must go after AxisOption ones
AxisOptionImg2Img("Denoising",float,apply_field("denoising_strength"),format_value_add_label),# as it is now all AxisOptionImg2Img items must go after AxisOption ones