Instructions to use GreeneryScenery/SheepsControlV4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use GreeneryScenery/SheepsControlV4 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/SheepsControlV4", 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
Commit ·
eba757c
1
Parent(s): 09a3aed
Update README.md
Browse files
README.md
CHANGED
|
@@ -49,4 +49,13 @@ Conditioning image:
|
|
| 49 |
Image:
|
| 50 |
|
| 51 |
A sheep
|
| 52 |
-
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV4/resolve/main/A sheep.png' style = 'width: 256px'>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
Image:
|
| 50 |
|
| 51 |
A sheep
|
| 52 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV4/resolve/main/A sheep.png' style = 'width: 256px'>
|
| 53 |
+
|
| 54 |
+
4.
|
| 55 |
+
Conditioning image:
|
| 56 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV4/resolve/main/dog.png' style = 'width: 256px'>
|
| 57 |
+
|
| 58 |
+
Image:
|
| 59 |
+
|
| 60 |
+
A dog sitting down
|
| 61 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV4/resolve/main/A dog sitting down.png' style = 'width: 256px'>
|