sd add strength
This commit is contained in:
parent
d061b07029
commit
53b9f3e92f
@ -146,6 +146,7 @@ class SD(DiffusionInpaintModel):
|
|||||||
negative_prompt=config.negative_prompt,
|
negative_prompt=config.negative_prompt,
|
||||||
mask_image=PIL.Image.fromarray(mask[:, :, -1], mode="L"),
|
mask_image=PIL.Image.fromarray(mask[:, :, -1], mode="L"),
|
||||||
num_inference_steps=config.sd_steps,
|
num_inference_steps=config.sd_steps,
|
||||||
|
strength=config.sd_strength,
|
||||||
guidance_scale=config.sd_guidance_scale,
|
guidance_scale=config.sd_guidance_scale,
|
||||||
output_type="np",
|
output_type="np",
|
||||||
callback=self.callback,
|
callback=self.callback,
|
||||||
|
Loading…
Reference in New Issue
Block a user