Diffusers How to use aiPhone13/Nina 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("aiPhone13/Nina")
prompt = "“A portrait of a 40-year-old woman named Nina in Paris. She is wearing a sleek, form-fitting black evening gown that highlights her elegant silhouette. The backdrop features a softly blurred view of the Eiffel Tower illuminated at night, adding a romantic ambiance to the composition.”"
image = pipe(prompt).images[0]