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")
```
......
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