mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-21 14:59:05 +00:00
Update sd_forge_controlnet_example.py
This commit is contained in:
@@ -68,7 +68,7 @@ class ControlNetExampleForge(scripts.Script):
|
||||
input_image = cv2.resize(input_image, (height, width))
|
||||
canny_image = cv2.Canny(input_image, 100, 200)
|
||||
|
||||
# Display preprocessor result. Called every sampling. Cache in your own way.
|
||||
# Output preprocessor result. Now called every sampling. Cache in your own way.
|
||||
p.extra_result_images.append(canny_image)
|
||||
|
||||
print('Preprocessor Canny finished.')
|
||||
|
||||
Reference in New Issue
Block a user