Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Community Pipeline] Speech to Image #871

Closed
osanseviero opened this issue Oct 17, 2022 · 9 comments
Closed

[Community Pipeline] Speech to Image #871

osanseviero opened this issue Oct 17, 2022 · 9 comments

Comments

@osanseviero
Copy link
Contributor

Intro

Community Pipelines are introduced in diffusers==0.4.0 with the idea of allowing the community to quickly add, integrate, and share their custom pipelines on top of diffusers.

You can find a guide about Community Pipelines here. You can also find all the community examples under examples/community/. If you have questions about the Community Pipelines feature, please head to the parent issue.

Idea: Speech to Image

You can use a transformer automatic-speech-recognition such as OpenAI whisper to transcribe the text, and pass that to Stable Diffusion. Together, this would create a nice speech-to-image pipeline.

Resources

@osanseviero osanseviero added good first issue Good for newcomers help wanted Extra attention is needed community-examples hacktoberfest and removed help wanted Extra attention is needed labels Oct 17, 2022
@MikailINTech
Copy link
Contributor

Hi, would be glad to work on it

@osanseviero
Copy link
Contributor Author

Awesome! Feel free to open a PR and if you have any questions just let us know :) (ideally in the parent issue unless it's very specific to this 🙏 )

@akashAD98
Copy link

I’m very much interested for this,I’ll try this feature

@MikailINTech
Copy link
Contributor

Hi @osanseviero, I opened a PR for this issue. For the moment, I have tested my pipeline for whisper and it works pretty well. I'm waiting for your suggestions (maybe making the pipeline more generic so that we can use other speech-recognition models ?)

@patrickvonplaten
Copy link
Contributor

patrickvonplaten commented Oct 20, 2022

It works very well ! Well done @MikailINTech :-)

@fffiloni
Copy link

📌 gradio demo is available here: https://huggingface.co/spaces/fffiloni/speech-to-image

@osanseviero
Copy link
Contributor Author

This is amazing @fffiloni! Great work!

@osanseviero
Copy link
Contributor Author

Closing this issue as this is now done 🔥 amazing work everyone!

@darwinharianto
Copy link

I tried the sample from https://github.com/huggingface/diffusers/tree/main/examples/community#speech-to-image
it gives me,
aa

Is there anything wrong with the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants