Instructions to use TencentARC/PhotoMaker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TencentARC/PhotoMaker with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("TencentARC/PhotoMaker", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Not able to pull registry.hf.space/tencentarc-photomaker-style:latest
#1
by bigsk1 - opened
Tried to use docker to run locally
docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all
-e HF_TOKEN="hf_aXXXXXXXXXXXXX"
registry.hf.space/tencentarc-photomaker-style:latest python app.py
Repository Not Found for url: https://huggingface.co/Paper99/sdxlUnstableDiffusers_v11/resolve/main/sdxlUnstableDiffusers_v11.safetensors.
I was able to run and use the tencentarc-photomaker:latest but not the style
You need to download the checkpoint by yourself.
bigsk1 changed discussion status to closed