Update README.md
Browse files
README.md
CHANGED
@@ -36,6 +36,7 @@ pipe = FluxControlNetPipeline.from_pretrained(
|
|
36 |
controlnet=controlnet,
|
37 |
torch_dtype=torch.bfloat16
|
38 |
)
|
|
|
39 |
|
40 |
# Load a control image
|
41 |
control_image = load_image(
|
|
|
36 |
controlnet=controlnet,
|
37 |
torch_dtype=torch.bfloat16
|
38 |
)
|
39 |
+
pipe.to("cuda")
|
40 |
|
41 |
# Load a control image
|
42 |
control_image = load_image(
|