Skip to content

Conversation

@philschmid
Copy link
Contributor

@philschmid philschmid commented Nov 24, 2022

What does this PR do?

This PR adds support for zero-code deployments for text-to-image tasks with diffusers and StableDiffusionPipeline. It also has the accept header to allow custom serialization of responses, to send images as binary. Serializers are currently on enabled for images, not audio files yet.

To have the lowest entry, we added a DiffusersPipelineImageToText which is a wrapper around StableDiffusionPipeline to process the output to 1 image only for now.

image

close #27


cc @apolinario @jeffboudier

@philschmid philschmid merged commit 4ed6ac8 into main Nov 25, 2022
@philschmid philschmid deleted the add-diffusers branch November 25, 2022 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for accept header and binary serializer for serving.

2 participants