aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCodeHatchling <steve@codehatch.com>2023-12-07 20:28:38 -0700
committerCodeHatchling <steve@codehatch.com>2023-12-07 20:28:38 -0700
commitfc3e246c0f4f292c33b181a902cd934629ff0d7a (patch)
treebf55768870d585f852f775a0b7161ae0e4126a87 /scripts
parentf284ae23bcdfa212cf4763659c06e124ec5b1456 (diff)
Fixed complaint about whitespace, updated help section for a parameter.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/soft_inpainting.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/soft_inpainting.py b/scripts/soft_inpainting.py
index 1b21aee9..6fb5cfbd 100644
--- a/scripts/soft_inpainting.py
+++ b/scripts/soft_inpainting.py
@@ -572,7 +572,7 @@ class Script(scripts.Script):
gr.Markdown(
"""
## Pixel Composite Settings
-
+
Masks are generated based on how much a part of the image changed after denoising.
These masks are used to blend the original and final images together.
If the difference is low, the original pixels are used instead of the pixels returned by the inpainting process.
@@ -602,10 +602,10 @@ class Script(scripts.Script):
f"""
### {ui_labels.composite_difference_contrast}
- This value represents the difference at which the opacity of the original pixels will have less than 50% opacity.
+ This value represents the contrast between the opacity of the original and inpainted content.
- - **Low values**: Two images patches must be almost the same in order to retain original pixels.
- - **High values**: Two images patches can be very different and still retain original pixels.
+ - **Low values**: The blend will be more gradual and have longer transitions, but may cause ghosting.
+ - **High values**: Ghosting will be less common, but transitions may be very sudden.
""")
self.infotext_fields = [(soft_inpainting_enabled, enabled_gen_param_label),