Uh oh!
There was an error while loading. Please reload this page.
[Community] Support StableDiffusionCanvasPipeline - #3590
Conversation
HuggingFaceDocBuilderDev
commented
May 28, 2023
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? |
sayakpaul
commented
Jun 1, 2023
Sounds like a good idea! |
patrickvonplaten
commented
Jun 2, 2023
Hey @kadirnar, Could you also add a section to the README here: https://github.com/huggingface/diffusers/tree/main/examples/community#community-examples |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
patrickvonplaten
commented
Jun 7, 2023
Works for me! |
kadirnar
commented
Jun 7, 2023
Thank you, but the readme.md file should be updated. Isn't this code wrong? |
patrickvonplaten
commented
Jun 7, 2023
Wanna open a quick new PR ? :-) |
kadirnar
commented
Jun 7, 2023
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_canvasimportImage2ImageRegion, Text2ImageRegion, preprocess_imageI want to do this. But this isn't true. That's why I added it to pipeline_utils.py. How should I do? |
patrickvonplaten
commented
Jun 11, 2023
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