Instructions to use XLabs-AI/flux-controlnet-depth-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use XLabs-AI/flux-controlnet-depth-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("XLabs-AI/flux-controlnet-depth-diffusers") pipe = StableDiffusionControlNetPipeline.from_pretrained( "black-forest-labs/FLUX.1-dev", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -37,7 +37,7 @@ controlnet = FluxControlNetModel.from_pretrained(
|
|
| 37 |
)
|
| 38 |
pipe = FluxControlNetPipeline.from_pretrained(
|
| 39 |
"black-forest-labs/FLUX.1-dev",
|
| 40 |
-
controlnet=
|
| 41 |
torch_dtype=torch.bfloat16
|
| 42 |
)
|
| 43 |
pipe.to("cuda")
|
|
|
|
| 37 |
)
|
| 38 |
pipe = FluxControlNetPipeline.from_pretrained(
|
| 39 |
"black-forest-labs/FLUX.1-dev",
|
| 40 |
+
controlnet=controlnet,
|
| 41 |
torch_dtype=torch.bfloat16
|
| 42 |
)
|
| 43 |
pipe.to("cuda")
|