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
|
@@ -43,7 +43,7 @@ pipe = FluxControlNetPipeline.from_pretrained(
|
|
| 43 |
pipe.to("cuda")
|
| 44 |
|
| 45 |
control_image = load_image("https://huggingface.co/Xlabs-AI/flux-controlnet-depth-diffusers/resolve/main/depth_example.png")
|
| 46 |
-
prompt = "photo of
|
| 47 |
|
| 48 |
image = pipe(
|
| 49 |
prompt,
|
|
|
|
| 43 |
pipe.to("cuda")
|
| 44 |
|
| 45 |
control_image = load_image("https://huggingface.co/Xlabs-AI/flux-controlnet-depth-diffusers/resolve/main/depth_example.png")
|
| 46 |
+
prompt = "photo of fashion woman in the street"
|
| 47 |
|
| 48 |
image = pipe(
|
| 49 |
prompt,
|