diff --git a/src/diffusers/image_processor.py b/src/diffusers/image_processor.py index 4f6f4bd52b9c..2edab545610d 100644 --- a/src/diffusers/image_processor.py +++ b/src/diffusers/image_processor.py @@ -274,11 +274,13 @@ def blur(image: PIL.Image.Image, blur_factor: int = 4) -> PIL.Image.Image: Args: image (`PIL.Image.Image`): - The PIL image to convert to grayscale. + The input image to blur. + blur_factor (`int`, *optional*, defaults to 4): + The blur factor to apply. Higher values result in more blur. Returns: `PIL.Image.Image`: - The grayscale-converted PIL image. + The blurred PIL image. """ image = image.filter(ImageFilter.GaussianBlur(blur_factor))