Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

protag0ras
/
FLUX.2-klein-base-4B_ElleFanningLoRA

Text-to-Image
Diffusers
lora
template:diffusion-lora
celebrity
person
woman
Model card Files Files and versions
xet
Community

Instructions to use protag0ras/FLUX.2-klein-base-4B_ElleFanningLoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use protag0ras/FLUX.2-klein-base-4B_ElleFanningLoRA 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.2-klein-base-4B", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("protag0ras/FLUX.2-klein-base-4B_ElleFanningLoRA")
    
    prompt = "A close-up, natural portrait photo of E11eFann1ng with long blonde wavy hair, sitting in a dimly lit, cozy cafe. She is looking directly at the camera with a neutral, calm expression. She wears round, black-and-gold wire-frame glasses and a dark grey ribbed knit beanie. She is wearing a dark, v-neck sweater over a white top. The background is a blurred bokeh of a warm cafe interior, featuring wooden paneling, soft, hanging pendant lights, and red booth seating."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
FLUX.2-klein-base-4B_ElleFanningLoRA
98.2 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
protag0ras's picture
protag0ras
Update README.md
1d4713a verified about 1 month ago
  • images
    Delete images/00056-3516107078.png about 1 month ago
  • .gitattributes
    2.31 kB
    initial commit about 1 month ago
  • ElleFanning_lora.safetensors
    92.4 MB
    xet
    Add 7 files about 1 month ago
  • README.md
    3.47 kB
    Update README.md about 1 month ago