Unverified Commit 807f69b3 authored by Tommaso De Rossi's avatar Tommaso De Rossi Committed by GitHub
Browse files

Fix breaking change in `pipeline_stable_diffusion_controlnet.py` (#3118)

fix breaking change
parent b811964a
......@@ -637,8 +637,8 @@ class StableDiffusionControlNetPipeline(DiffusionPipeline, TextualInversionLoade
num_images_per_prompt,
device,
dtype,
do_classifier_free_guidance,
guess_mode,
do_classifier_free_guidance=False,
guess_mode=False,
):
if not isinstance(image, torch.Tensor):
if isinstance(image, PIL.Image.Image):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment