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

AlekseyCalvin
/
ColorizeTruer_KontextFlux_V6resized_BySAP

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

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

  • Libraries
  • Diffusers

    How to use AlekseyCalvin/ColorizeTruer_KontextFlux_V6resized_BySAP with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", torch_dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("AlekseyCalvin/ColorizeTruer_KontextFlux_V6resized_BySAP")
    
    prompt = "Colorize this photo (optional)"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
ColorizeTruer_KontextFlux_V6resized_BySAP
156 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
AlekseyCalvin's picture
AlekseyCalvin
Update README.md
5037a13 verified about 1 year ago
  • inputs
    Upload 6 files about 1 year ago
  • outputs
    Upload 6 files about 1 year ago
  • .gitattributes
    1.77 kB
    Upload 6 files about 1 year ago
  • ColorizeTruerVar6rank16.safetensors
    153 MB
    xet
    Upload ColorizeTruerVar6rank16.safetensors about 1 year ago
  • README.md
    3.27 kB
    Update README.md about 1 year ago