-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Community] Support StableDiffusionCanvasPipeline #3590
[Community] Support StableDiffusionCanvasPipeline #3590
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
@patrickvonplaten , @sayakpaul How do I import this Text2ImageRegion class? Should I add it to the pipeline_utils python file? |
Sounds like a good idea! |
Hey @kadirnar, Could you also add a section to the README here: https://github.com/huggingface/diffusers/tree/main/examples/community#community-examples |
Works for me! |
Thank you, but the readme.md file should be updated. Isn't this code wrong?
|
Wanna open a quick new PR ? :-) |
Yes, I want to do it, but I don't know how to import it. Because it's not in the src/diffusers folder. diffusers.examples.community.mixture_canvas import Image2ImageRegion, Text2ImageRegion, preprocess_image I want to do this. But this isn't true. That's why I added it to pipeline_utils.py. How should I do? |
Ah yeah, I'd add all these "Region" classes directly in the same file so that you don't have to import it |
* added StableDiffusionCanvasPipeline pipeline * Added utils codes to pipe_utils file. * make style * delete mixture.py and Text2ImageRegion class * make style * Added the codes to the readme.md file. * Moved functions from pipeline_utils to mix_canvas
I will update the readme after this is merged.
#3586