I have some projects that involve AI image generation. Previously, I used Stable Diffusion from HuggingFace by importing StableDiffusionPipeline in my code. But now I have my own PC (RTX 4090) and I want to run Stable Diffusion locally. Is there any way to like package this Stable Diffusion code into a library, or something else so that I can combine it with my own project?
I have some projects that involve AI image generation. Previously, I used Stable Diffusion from HuggingFace by importing StableDiffusionPipeline in my code. But now I have my own PC (RTX 4090) and I want to run Stable Diffusion locally. Is there any way to like package this Stable Diffusion code into a library, or something else so that I can combine it with my own project?