Instructions to use Kunbyte/DRA-Ctrl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Kunbyte/DRA-Ctrl 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("Kunbyte/DRA-Ctrl", 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
- Xet hash:
- fa1c98d911413aa223c80acaf8413c63c2af585bab8c6aa53e0b7fcf03f75628
- Size of remote file:
- 185 MB
- SHA256:
- b74f14434fdfc13016ba7f5a537c0f6822a7e8b7a3826b89752a8866e418f200
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.