Diffusers How to use javaabu/libaas-F1D 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("javaabu/libaas-F1D")
prompt = "Raw photo, hyper realistic shot portrait of dhivehi libaas, woman in a green libaas with a black hijab, wearing a gold necklace, in a dense forest. Action pose, cinematic, 8K, UHD, bokeh background"
image = pipe(prompt).images[0]