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

  • Log In
  • Sign Up

prithivMLmods
/
Coloring-Book-Flux-LoRA

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

Instructions to use prithivMLmods/Coloring-Book-Flux-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use prithivMLmods/Coloring-Book-Flux-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("prithivMLmods/Coloring-Book-Flux-LoRA")
    
    prompt = "Coloring Book, A black and white drawing of a truck parked in front of a house. The truck is facing towards the right side of the image. There is a large tree to the right of the truck. There are small bushes to the left of the house. A fence is behind the truck on the right. The house has a roof that is made up of wood. The sky above the house is filled with fluffy white clouds."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Coloring-Book-Flux-LoRA
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
prithivMLmods's picture
prithivMLmods
Update README.md
e2b797d verified over 1 year ago
  • images
    Delete images/a941d19b-963d-4058-828e-efb4ae52a0a9.jpeg over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • README.md
    3.32 kB
    Update README.md over 1 year ago
  • coloring-book.safetensors
    613 MB
    xet
    Add 2 files over 1 year ago