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 ·
dbafc23
1
Parent(s): eba757c
Update README.md
Browse files
README.md
CHANGED
|
@@ -15,6 +15,9 @@ tags:
|
|
| 15 |
|
| 16 |
## Examples
|
| 17 |
|
|
|
|
|
|
|
|
|
|
| 18 |
1.
|
| 19 |
Conditioning image:
|
| 20 |
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV4/resolve/main/airplane.jpg' style = 'width: 256px'>
|
|
@@ -58,4 +61,6 @@ Conditioning image:
|
|
| 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'>
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
## Examples
|
| 17 |
|
| 18 |
+
<details>
|
| 19 |
+
<summary> Click to expand </summary>
|
| 20 |
+
|
| 21 |
1.
|
| 22 |
Conditioning image:
|
| 23 |
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV4/resolve/main/airplane.jpg' style = 'width: 256px'>
|
|
|
|
| 61 |
Image:
|
| 62 |
|
| 63 |
A dog sitting down
|
| 64 |
+
<img src = 'https://huggingface.co/GreeneryScenery/SheepsControlV4/resolve/main/A dog sitting down.png' style = 'width: 256px'>
|
| 65 |
+
|
| 66 |
+
<details>
|