mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-23 00:03:57 +00:00
Update sd_forge_controlnet_example.py
This commit is contained in:
@@ -53,7 +53,9 @@ class ControlNetExampleForge(scripts.Script):
|
||||
|
||||
controlnet = load_controlnet(controlnet_canny_path)
|
||||
input_image = cv2.resize(input_image, (p.height, p.width))
|
||||
canny_image = cv2.Canny(input_image, 100, 200)
|
||||
|
||||
# Display preprocessor result. Called every batch. Cache in your own way.
|
||||
p.extra_result_images.append(input_image)
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user