Update pipeline_stable_diffusion_inpaint_legacy.py (#2903)
* Update pipeline_stable_diffusion_inpaint_legacy.py
* fix preprocessing of Pil images with adequate batch size
* revert map
* add tests
* reformat
* Update test_stable_diffusion_inpaint_legacy.py
* Update test_stable_diffusion_inpaint_legacy.py
* Update test_stable_diffusion_inpaint_legacy.py
* Update test_stable_diffusion_inpaint_legacy.py
* next try to fix the style
* wth is this
* Update testing_utils.py
* Update testing_utils.py
* Update test_stable_diffusion_inpaint_legacy.py
* Update test_stable_diffusion_inpaint_legacy.py
* Update test_stable_diffusion_inpaint_legacy.py
* Update test_stable_diffusion_inpaint_legacy.py
* Update test_stable_diffusion_inpaint_legacy.py
* Update test_stable_diffusion_inpaint_legacy.py
---------
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>