Update README.md
Browse files
README.md
CHANGED
|
@@ -44,8 +44,8 @@ import torch
|
|
| 44 |
from diffusers.utils import load_image
|
| 45 |
from diffusers import FluxControlNetPipeline, FluxControlNetModel
|
| 46 |
|
| 47 |
-
|
| 48 |
-
|
| 49 |
|
| 50 |
controlnet = FluxControlNetModel.from_pretrained(controlnet_model, torch_dtype=torch.bfloat16)
|
| 51 |
pipe = FluxControlNetPipeline.from_pretrained(
|
|
|
|
| 44 |
from diffusers.utils import load_image
|
| 45 |
from diffusers import FluxControlNetPipeline, FluxControlNetModel
|
| 46 |
|
| 47 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
| 48 |
+
controlnet_model = "Shakker-Labs/FLUX.1-dev-ControlNet-Depth"
|
| 49 |
|
| 50 |
controlnet = FluxControlNetModel.from_pretrained(controlnet_model, torch_dtype=torch.bfloat16)
|
| 51 |
pipe = FluxControlNetPipeline.from_pretrained(
|