How to use prithivMLmods/Shadow-Projection-Flux-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/Shadow-Projection-Flux-LoRA") prompt = "Shadow Projection, a close-up shot of a womans face is visible. Her eyes are a piercing blue, and her eyelashes are a darker shade of blue. Her eyebrows are a dark brown, and she has long, wavy brown hair. Her lips are a lighter shade of brown, with a slight smile on her lips. The womans eyebrows are dark, adding a touch of depth to her face. The background is blurred, and the womans shadow is cast on the right side of the frame." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!