@@ -861,7 +861,7 @@ def __call__(
861861 mask_image : Union [torch .FloatTensor , PIL .Image .Image ] = None ,
862862 height : Optional [int ] = None ,
863863 width : Optional [int ] = None ,
864- strength : float = 1.0 ,
864+ strength : float = 0.9999 ,
865865 num_inference_steps : int = 50 ,
866866 denoising_start : Optional [float ] = None ,
867867 denoising_end : Optional [float ] = None ,
@@ -910,7 +910,7 @@ def __call__(
910910 The height in pixels of the generated image.
911911 width (`int`, *optional*, defaults to self.unet.config.sample_size * self.vae_scale_factor):
912912 The width in pixels of the generated image.
913- strength (`float`, *optional*, defaults to 1. ):
913+ strength (`float`, *optional*, defaults to 0.9999 ):
914914 Conceptually, indicates how much to transform the masked portion of the reference `image`. Must be
915915 between 0 and 1. `image` will be used as a starting point, adding more noise to it the larger the
916916 `strength`. The number of denoising steps depends on the amount of noise initially added. When
0 commit comments