Spaces:
Running
Running
Update diffusion_webui/diffusion_models/controlnet_pipeline.py
Browse files
diffusion_webui/diffusion_models/controlnet_pipeline.py
CHANGED
@@ -82,6 +82,8 @@ class StableDiffusionControlNetGenerator(ControlnetPipeline):
|
|
82 |
generator = torch.manual_seed(random_seed)
|
83 |
else:
|
84 |
generator = torch.manual_seed(seed_generator)
|
|
|
|
|
85 |
|
86 |
output = pipe(
|
87 |
prompt=prompt,
|
|
|
82 |
generator = torch.manual_seed(random_seed)
|
83 |
else:
|
84 |
generator = torch.manual_seed(seed_generator)
|
85 |
+
|
86 |
+
controlnet_image = Image.fromarray(controlnet_image)
|
87 |
|
88 |
output = pipe(
|
89 |
prompt=prompt,
|