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

  • Log In
  • Sign Up

eggnog
/
Stereogram_Kontext_LoRa

Image-to-Image
Diffusers
lora
template:diffusion-lora
VR
stereogram
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use eggnog/Stereogram_Kontext_LoRa 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", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("eggnog/Stereogram_Kontext_LoRa")
    
    prompt = "Make stereogram"
    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
  • Draw Things
Stereogram_Kontext_LoRa
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
eggnog's picture
eggnog
Update README.md
c655db2 verified 10 months ago
  • images
    Add 7 files 10 months ago
  • .gitattributes
    2.31 kB
    initial commit 10 months ago
  • Make_stereogram_v1_000004750.safetensors
    344 MB
    xet
    Add 7 files 10 months ago
  • Make_stereogram_v1_000008000.safetensors
    344 MB
    xet
    Add 7 files 10 months ago
  • README.md
    2.3 kB
    Update README.md 10 months ago