Duplicated from kudzueye/boreal-flux-dev-v2
How to use codecandy/boreal 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("codecandy/boreal") prompt = "photo of two womenn talking and hugging while working at a busy place. flikr photo from 2012. three people working in the background." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!