How to use prithivMLmods/CAnime-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("prithivMLmods/CAnime-LoRA") prompt = "CAnime, An animated portrait of a young man in a bright orange jacket with a light blue shirt underneath. The mans eyes are closed, and his lips are slightly parted. His hair is a vibrant orange, and he is wearing a pair of light blue jeans. The background is a pale blue, and there is a large circular blue circle in the background." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!