Spaces:
Runtime error
Runtime error
prompt none with compel
Browse files- pipelines/controlnet.py +1 -0
pipelines/controlnet.py
CHANGED
@@ -210,6 +210,7 @@ class Pipeline:
|
|
210 |
prompt = params.prompt
|
211 |
if hasattr(self, "compel_proc"):
|
212 |
prompt_embeds = self.compel_proc(params.prompt)
|
|
|
213 |
|
214 |
control_image = self.canny_torch(
|
215 |
params.image, params.canny_low_threshold, params.canny_high_threshold
|
|
|
210 |
prompt = params.prompt
|
211 |
if hasattr(self, "compel_proc"):
|
212 |
prompt_embeds = self.compel_proc(params.prompt)
|
213 |
+
prompt = None
|
214 |
|
215 |
control_image = self.canny_torch(
|
216 |
params.image, params.canny_low_threshold, params.canny_high_threshold
|