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

  • Log In
  • Sign Up

oria12
/
realistic-lora

Text-to-Image
Diffusers
flux
lora
template:sd-lora
ai-toolkit
Model card Files Files and versions
xet
Community

Instructions to use oria12/realistic-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use oria12/realistic-lora 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("oria12/realistic-lora")
    
    prompt = "A person in a bustling cafe Alina"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
realistic-lora / samples
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
oria12's picture
oria12
Upload folder using huggingface_hub
16f0b50 verified over 1 year ago
  • 1726948646035__000002000_0.jpg
    95.7 kB
    Upload folder using huggingface_hub over 1 year ago
  • 1726948676070__000002000_1.jpg
    107 kB
    Upload folder using huggingface_hub over 1 year ago