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

  • Log In
  • Sign Up

ShreyashDhoot
/
v3

Image-to-Image
Diffusers
Safetensors
stable-diffusion
inpainting
lora
kto
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use ShreyashDhoot/v3 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("runwayml/stable-diffusion-inpainting", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("ShreyashDhoot/v3")
    
    prompt = "Turn this cat into a dog"
    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]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
v3
819 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 43 commits
ShreyashDhoot's picture
ShreyashDhoot
Upload README.md with huggingface_hub
59ccd45 verified 7 days ago
  • checkpoints
    Upload folder using huggingface_hub 7 days ago
  • eval_outputs
    Upload folder using huggingface_hub 7 days ago
  • .gitattributes
    131 kB
    Upload folder using huggingface_hub 7 days ago
  • README.md
    1.59 kB
    Upload README.md with huggingface_hub 7 days ago