Commit c7a1ff87 authored by CodeHatchling's avatar CodeHatchling

Tweaked default values.

parent 284fd8f4
......@@ -1350,8 +1350,8 @@ class StableDiffusionProcessingImg2Img(StableDiffusionProcessing):
mask_blur_y: int = 4
mask_blur: int = None
mask_blend_power: float = 1
mask_blend_scale: float = 1
inpaint_detail_preservation: float = 16
mask_blend_scale: float = 0.5
inpaint_detail_preservation: float = 4
inpainting_fill: int = 0
inpaint_full_res: bool = True
inpaint_full_res_padding: int = 0
......
......@@ -44,8 +44,8 @@ class CFGDenoiser(torch.nn.Module):
self.mask = None
self.nmask = None
self.mask_blend_power = 1
self.mask_blend_scale = 1
self.inpaint_detail_preservation = 16
self.mask_blend_scale = 0.5
self.inpaint_detail_preservation = 4
self.init_latent = None
self.steps = None
"""number of steps as specified by user in UI"""
......
......@@ -25,8 +25,8 @@ def simple_img2img_request(img2img_basic_image_base64):
"mask": None,
"mask_blur": 4,
"mask_blend_power": 1,
"mask_blend_scale": 1,
"inpaint_detail_preservation": 16,
"mask_blend_scale": 0.5,
"inpaint_detail_preservation": 4,
"n_iter": 1,
"negative_prompt": "",
"override_settings": {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment