Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

XLabs-AI
/
flux-RealismLora

Text-to-Image
Diffusers
English
lora
Stable Diffusion
image-generation
Flux
Model card Files Files and versions
xet
Community
46

Instructions to use XLabs-AI/flux-RealismLora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use XLabs-AI/flux-RealismLora 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("XLabs-AI/flux-RealismLora")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
flux-RealismLora
22.4 MB
Ctrl+K
Ctrl+K
  • 6 contributors
History: 17 commits
anghellia's picture
anghellia
skybirdsports's picture
skybirdsports
Small spelling correction (#13)
1965e17 verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    2.14 kB
    Small spelling correction (#13) over 1 year ago
  • lora.safetensors
    22.4 MB
    xet
    Upload lora.safetensors with huggingface_hub almost 2 years ago