Instructions to use diffusers/controlnet-zoe-depth-sdxl-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/controlnet-zoe-depth-sdxl-1.0 with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("diffusers/controlnet-zoe-depth-sdxl-1.0") pipe = StableDiffusionControlNetPipeline.from_pretrained( "stabilityai/stable-diffusion-xl-base-1.0", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -100,7 +100,7 @@ from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline, Auto
|
|
| 100 |
from diffusers.utils import load_image
|
| 101 |
|
| 102 |
controlnet = ControlNetModel.from_pretrained(
|
| 103 |
-
"diffusers/controlnet-depth-sdxl-1.0",
|
| 104 |
use_safetensors=True,
|
| 105 |
torch_dtype=torch.float16,
|
| 106 |
).to("cuda")
|
|
|
|
| 100 |
from diffusers.utils import load_image
|
| 101 |
|
| 102 |
controlnet = ControlNetModel.from_pretrained(
|
| 103 |
+
"diffusers/controlnet-zoe-depth-sdxl-1.0",
|
| 104 |
use_safetensors=True,
|
| 105 |
torch_dtype=torch.float16,
|
| 106 |
).to("cuda")
|