Instructions to use GreeneryScenery/SheepsControlV5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use GreeneryScenery/SheepsControlV5 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("GreeneryScenery/SheepsControlV5", 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
File size: 324 Bytes
ec015b1 c20ec0f ec015b1 43ba270 c5aa5b3 43ba270 ec015b1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ---
datasets:
- GreeneryScenery/SheepsDiffusionNet
- poloclub/diffusiondb
pipeline_tag: image-to-image
tags:
- art
- ControlNet
---
# V5
🤗 Try it [here](https://replicate.com/greeneryscenery/sheeps-controlnet-sketch-2-image)
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV5/resolve/main/overview.png'> |