Diffusers
sayakpaul HF Staff commited on
Commit
5fd2a6a
·
verified ·
1 Parent(s): 17ad199

Update canny_block.py

Browse files
Files changed (1) hide show
  1. canny_block.py +3 -1
canny_block.py CHANGED
@@ -18,7 +18,9 @@ class CannyBlock(ModularPipelineBlocks):
18
  @property
19
  def expected_components(self):
20
  return [
21
- ComponentSpec(name="canny_annotator", type_hint=CannyDetector),
 
 
22
  ]
23
 
24
  @property
 
18
  @property
19
  def expected_components(self):
20
  return [
21
+ ComponentSpec(
22
+ name="canny_annotator", type_hint=CannyDetector, default_creation_method="init"
23
+ ),
24
  ]
25
 
26
  @property