"docs/vscode:/vscode.git/clone" did not exist on "d63a498c3b8484fc5a146658a906bc20aed13de4"
Unverified Commit eeb70033 authored by AmosDinh's avatar AmosDinh Committed by GitHub
Browse files

Syntax error in readme example "pipe" -> "pipeline" (#8601)

Update controlnet.md

Syntax error pipe -> pipeline
parent c4a4750c
......@@ -349,7 +349,7 @@ control_image = load_image("./conditioning_image_1.png")
prompt = "pale golden rod circle with old lace background"
generator = torch.manual_seed(0)
image = pipe(prompt, num_inference_steps=20, generator=generator, image=control_image).images[0]
image = pipeline(prompt, num_inference_steps=20, generator=generator, image=control_image).images[0]
image.save("./output.png")
```
......@@ -363,4 +363,4 @@ The SDXL training script is discussed in more detail in the [SDXL training](sdxl
Congratulations on training your own ControlNet! To learn more about how to use your new model, the following guides may be helpful:
- Learn how to [use a ControlNet](../using-diffusers/controlnet) for inference on a variety of tasks.
\ No newline at end of file
- Learn how to [use a ControlNet](../using-diffusers/controlnet) for inference on a variety of tasks.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment