Instructions to use Aitrepreneur/InstantID-Controlnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Aitrepreneur/InstantID-Controlnet with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Aitrepreneur/InstantID-Controlnet", 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
Download depth_anything/util/__pycache__/transform.cpython-310.pyc from Aitrepreneur/InstantID-Controlnet: direct link, hf CLI and curl.
- Browser
- Download file 6.03 kB
-
https://huggingface.co/Aitrepreneur/InstantID-Controlnet/resolve/refs%2Fpr%2F2/depth_anything/util/__pycache__/transform.cpython-310.pyc
- Command line
-
hf download hf://Aitrepreneur/InstantID-Controlnet@refs/pr/2/depth_anything/util/__pycache__/transform.cpython-310.pyc
-
curl -L -o transform.cpython-310.pyc https://huggingface.co/Aitrepreneur/InstantID-Controlnet/resolve/refs%2Fpr%2F2/depth_anything/util/__pycache__/transform.cpython-310.pyc
6.03 kB
This file contains binary data. It cannot be displayed, but you can still download it.