Instructions to use JunhaoZhuang/PowerPaint-v2-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use JunhaoZhuang/PowerPaint-v2-1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("JunhaoZhuang/PowerPaint-v2-1", torch_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
Model doesn't work
#2
by jgilat - opened
Hi, with the suggested code I am getting this error:requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/JunhaoZhuang/PowerPaint-v2-1/resolve/main/model_index.json
I cannot find a config.json file either.
Thanks!