VaeImageProcessor.blur()'s docstring is missing the blur_factor parameter entirely, and its
Returns/description text appears to be copy-pasted from a different method — it currently
describes converting an image to grayscale, not blurring it.
Location: src/diffusers/image_processor.py, VaeImageProcessor.blur(), around line 271.
Proposed fix: add the missing blur_factor entry to the Args section and correct the
description to accurately describe the blur behavior, matching the style of nearby docstrings
in the same file (1-3 sentences, no more).
I have a small, single-file fix ready and would like to open a PR for this if a maintainer can
confirm it's welcome — happy to follow whatever review process you prefer.
VaeImageProcessor.blur()'s docstring is missing theblur_factorparameter entirely, and itsReturns/description text appears to be copy-pasted from a different method — it currentlydescribes converting an image to grayscale, not blurring it.
Location:
src/diffusers/image_processor.py,VaeImageProcessor.blur(), around line 271.Proposed fix: add the missing
blur_factorentry to theArgssection and correct thedescription to accurately describe the blur behavior, matching the style of nearby docstrings
in the same file (1-3 sentences, no more).
I have a small, single-file fix ready and would like to open a PR for this if a maintainer can
confirm it's welcome — happy to follow whatever review process you prefer.