radames commited on
Commit
0d09fe1
1 Parent(s): 1dd3aef

prompt none with compel

Browse files
Files changed (1) hide show
  1. 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