Update README.md
Browse files
README.md
CHANGED
@@ -83,7 +83,7 @@ line_detector = LineartDetector.from_pretrained("lllyasviel/Annotators").to("cud
|
|
83 |
url = "https://cdn.sortiraparis.com/images/80/77381/729517-oppenheimer-le-prochain-film-de-christopher-nolan-pour-2023-la-premiere-photo.jpg"
|
84 |
image = load_image(url)
|
85 |
image = line_detector(
|
86 |
-
|
87 |
).resize((1024, 1024))
|
88 |
|
89 |
prompt = "cinematic still, a man, head shot"
|
|
|
83 |
url = "https://cdn.sortiraparis.com/images/80/77381/729517-oppenheimer-le-prochain-film-de-christopher-nolan-pour-2023-la-premiere-photo.jpg"
|
84 |
image = load_image(url)
|
85 |
image = line_detector(
|
86 |
+
image.resize((384, 384)), detect_resolution=384, image_resolution=1024
|
87 |
).resize((1024, 1024))
|
88 |
|
89 |
prompt = "cinematic still, a man, head shot"
|