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
|
@@ -51,8 +51,8 @@ image = pipe(
|
|
| 51 |
controlnet_conditioning_scale=0.7,
|
| 52 |
num_inference_steps=25,
|
| 53 |
guidance_scale=3.5,
|
| 54 |
-
height=
|
| 55 |
-
width=
|
| 56 |
generator=generator,
|
| 57 |
num_images_per_prompt=1,
|
| 58 |
).images[0]
|
|
|
|
| 51 |
controlnet_conditioning_scale=0.7,
|
| 52 |
num_inference_steps=25,
|
| 53 |
guidance_scale=3.5,
|
| 54 |
+
height=768,
|
| 55 |
+
width=1024,
|
| 56 |
generator=generator,
|
| 57 |
num_images_per_prompt=1,
|
| 58 |
).images[0]
|