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 ·
ad4da91
1
Parent(s): 7f1d198
Upload 11 files
Browse files- A dog sitting down.png +0 -0
- Airplane.png +0 -0
- Cute turtle.png +0 -0
- Jet.png +0 -0
- Plane.png +0 -0
- airplane.jpg +0 -0
- arafed airplane flying in the sky with a green tail.png +0 -0
- arafed jet flying in the air with a royal air force logo on it.png +0 -0
- overview.png +0 -0
- sheep.png +0 -0
- turtle.png +0 -0
A dog sitting down.png
ADDED
|
Airplane.png
ADDED
|
Cute turtle.png
ADDED
|
Jet.png
ADDED
|
Plane.png
ADDED
|
airplane.jpg
ADDED
|
arafed airplane flying in the sky with a green tail.png
ADDED
|
arafed jet flying in the air with a royal air force logo on it.png
ADDED
|
overview.png
ADDED
|
sheep.png
ADDED
|
turtle.png
ADDED
|