How to use cuixing/textual_inversion_object_style with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_textual_inversion("cuixing/textual_inversion_object_style")
These are textual inversion adaption weights for runwayml/stable-diffusion-v1-5. You can find some example images in the following.
Base model