Fixed spelling issues #138

Open
MatiasSilva wants to merge 1 commits from MatiasSilva/Fix-typo into main
3 changed files with 4 additions and 4 deletions
@@ -11,7 +11,7 @@ def face_inpainting_ui(id_prefix: str = "faceswaplab") -> List[gr.components.Com
0,
step=0.01,
elem_id=f"{id_prefix}_pp_inpainting_denoising_strength",
label="Denoising strenght",
label="Denoising strength",
)
inpainting_denoising_prompt = gr.Textbox(
+1 -1
View File
@@ -158,7 +158,7 @@ def build_face_checkpoint_and_save(
return None # type: ignore (Optional not really supported by old gradio)
gender = getattr(Gender, str_gender)
logger.info("Choosen gender : %s", gender)
logger.info("Chosen gender : %s", gender)
images: list[PILImage] = [Image.open(file.name) for file in batch_files] # type: ignore
preview_image: PILImage | None = (
face_checkpoints.build_face_checkpoint_and_save(
@@ -190,7 +190,7 @@ def faceswap_unit_ui(
elem_id=f"{id_prefix}_face{unit_num}_reference_face_index",
)
gr.Markdown(
"""Configure swapping. Swapping can occure before img2img, after or both :""",
"""Configure swapping. Swapping can occur before img2img, after or both :""",
visible=is_img2img,
)
swap_in_source = gr.Checkbox(
@@ -258,7 +258,7 @@ Otherwise, read the [doc](https://glucauze.github.io/sd-webui-faceswaplab/doc/)
options = faceswap_unit_advanced_options(is_img2img, unit_num, id_prefix)
with gr.Accordion(label="Post-Inpainting (After swapping)", open=False):
gr.Markdown("Pre-inpainting sends face to inpainting before swapping")
gr.Markdown("Post-inpainting sends face to inpainting after swapping")
post_inpainting = face_inpainting_ui(
id_prefix=f"{id_prefix}_face{unit_num}_postinpainting",
)