Core implementation of ControlNet and MultiControlNet.

This commit is contained in:
user1 2023-05-26 13:02:45 -07:00 committed by Kent Keirsey
parent c4277b0662
commit 768cfe3aab

View File

@ -1031,7 +1031,6 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline):
dtype=torch.float16,
do_classifier_free_guidance=True,
):
if not isinstance(image, torch.Tensor):
if isinstance(image, PIL.Image.Image):
image = [image]