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