1
0
Fork 0

fix(api): unwrap results of img2img chain

This commit is contained in:
Sean Sube 2023-07-04 18:48:07 -05:00
parent 60de9599f9
commit 42e6f356a9
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 3 deletions

View File

@ -171,9 +171,7 @@ def run_img2img_pipeline(
# run and append the filtered source
progress = job.get_progress_callback()
images = [
chain(job, server, params, [source], callback=progress),
]
images = chain(job, server, params, [source], callback=progress),
if source_filter is not None and source_filter != "none":
images.append(source)