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

  • Log In
  • Sign Up

Sanster
/
PowerPaint_v2

Diffusers
Safetensors
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Diffusers

    How to use Sanster/PowerPaint_v2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Sanster/PowerPaint_v2", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
PowerPaint_v2
6.06 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Sanster's picture
Sanster
update
1c7bbea about 2 years ago
  • PowerPaint_Brushnet
    init about 2 years ago
  • powerpaint_v2
    init about 2 years ago
  • text_encoder_brushnet
    init about 2 years ago
  • tokenizer
    init about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • .gitignore
    13 Bytes
    init about 2 years ago
  • README.md
    1.74 kB
    update about 2 years ago
  • context-aware_result.png
    404 kB
    init about 2 years ago
  • image-outpainting_result.png
    906 kB
    update about 2 years ago
  • inpaint_result.png
    415 kB
    init about 2 years ago
  • main.py
    6.23 kB
    update about 2 years ago
  • object-removal_result.png
    410 kB
    init about 2 years ago
  • shape-guided_result.png
    404 kB
    init about 2 years ago