fix(scripts): init image controlnet error

pull/690/head
Dowon 2024-08-27 19:18:00 +09:00
parent bb070be961
commit 91f7d8617a
No known key found for this signature in database
GPG Key ID: 31D3079F422E1444
1 changed files with 1 additions and 1 deletions

View File

@ -876,7 +876,7 @@ class AfterDetailerScript(scripts.Script):
self.compare_prompt(p.extra_generation_params, processed, n=n)
p2 = copy(i2i)
p2.init_images = processed.images
p2.init_images = [processed.images[0]]
if processed is not None:
pp.image = processed.images[0]