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

  • Log In
  • Sign Up

onkarsus13
/
controlnet_stablediffusion_scenetextEraser

Image-to-Image
Diffusers
StableDiffusionControlNetInpaintPipeline
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use onkarsus13/controlnet_stablediffusion_scenetextEraser 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("onkarsus13/controlnet_stablediffusion_scenetextEraser", dtype=torch.bfloat16, device_map="cuda")
    
    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
controlnet_stablediffusion_scenetextEraser
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
onkarsus13's picture
onkarsus13
Update README.md
d277006 over 2 years ago
  • controlnet
    added all models over 2 years ago
  • scheduler
    added all models over 2 years ago
  • text_encoder
    added all models over 2 years ago
  • tokenizer
    added all models over 2 years ago
  • unet
    added all models over 2 years ago
  • vae
    added all models over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    1.87 kB
    Update README.md over 2 years ago
  • model_index.json
    595 Bytes
    added all models over 2 years ago