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

  • Log In
  • Sign Up

lucataco
/
ReplicateFluxLoRA

Text-to-Image
Diffusers
English
flux
lora
replicate
Model card Files Files and versions
xet
Community

Instructions to use lucataco/ReplicateFluxLoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use lucataco/ReplicateFluxLoRA 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("lucataco/ReplicateFluxLoRA")
    
    prompt = "a boat in the style of TOK"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
ReplicateFluxLoRA / samples
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
lucataco's picture
lucataco
Upload folder using huggingface_hub
778924a verified over 1 year ago
  • 1723480105888__000000000_0.jpg
    114 kB
    Upload folder using huggingface_hub over 1 year ago
  • 1723480662882__000000250_0.jpg
    134 kB
    Upload folder using huggingface_hub over 1 year ago
  • 1723481211286__000000500_0.jpg
    115 kB
    Upload folder using huggingface_hub over 1 year ago
  • 1723481769178__000000750_0.jpg
    121 kB
    Upload folder using huggingface_hub over 1 year ago
  • 1723482319109__000001000_0.jpg
    123 kB
    Upload folder using huggingface_hub over 1 year ago