Spaces:
Runtime error
Runtime error
Update diffusion_webui/diffusion_models/controlnet_pipeline.py
Browse files
diffusion_webui/diffusion_models/controlnet_pipeline.py
CHANGED
@@ -71,9 +71,9 @@ class StableDiffusionControlNetGenerator(ControlnetPipeline):
|
|
71 |
scheduler=scheduler,
|
72 |
)
|
73 |
|
74 |
-
read_image = Image.open(image_path)
|
75 |
controlnet_image = self.controlnet_preprocces(
|
76 |
-
read_image=
|
77 |
)
|
78 |
|
79 |
if seed_generator == 0:
|
|
|
71 |
scheduler=scheduler,
|
72 |
)
|
73 |
|
74 |
+
#read_image = Image.open(image_path)
|
75 |
controlnet_image = self.controlnet_preprocces(
|
76 |
+
read_image=image_path, preprocces_type=preprocces_type
|
77 |
)
|
78 |
|
79 |
if seed_generator == 0:
|