patrickvonplaten
commited on
Commit
•
1c7d435
1
Parent(s):
880b04c
Update README.md
Browse files
README.md
CHANGED
@@ -99,6 +99,7 @@ checkpoint = "ControlNet-1-1-preview/control_v11p_sd15_lineart"
|
|
99 |
image = load_image(
|
100 |
"https://huggingface.co/ControlNet-1-1-preview/control_v11p_sd15_lineart/resolve/main/images/input.png"
|
101 |
)
|
|
|
102 |
|
103 |
prompt = "michael jackson concert"
|
104 |
processor = LineartDetector.from_pretrained("lllyasviel/Annotators")
|
|
|
99 |
image = load_image(
|
100 |
"https://huggingface.co/ControlNet-1-1-preview/control_v11p_sd15_lineart/resolve/main/images/input.png"
|
101 |
)
|
102 |
+
image = image.resize((512, 512))
|
103 |
|
104 |
prompt = "michael jackson concert"
|
105 |
processor = LineartDetector.from_pretrained("lllyasviel/Annotators")
|