Add text to image pipeline to generic inference (#252)
* Add text to image pipeline
* Update api-inference-community/docker_images/common/app/pipelines/text_to_image.py
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
* Update api-inference-community/docker_images/common/app/pipelines/text_to_image.py
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
* Update api-inference-community/docker_images/common/app/pipelines/text_to_image.py
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
* Fix test template
* Return PIL.Image from the pipeline
* Use improved image handling to avoid having to decode
Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>