SunderAli17 commited on
Commit
fab6dd2
1 Parent(s): 7a00d58

Update toonmage/fluxpipeline.py

Browse files
Files changed (1) hide show
  1. toonmage/fluxpipeline.py +2 -2
toonmage/fluxpipeline.py CHANGED
@@ -34,11 +34,11 @@ class ToonMagePipeline(nn.Module):
34
  num_ca += 1
35
  if 38 % single_interval != 0:
36
  num_ca += 1
37
- self.toonmage_ca = nn.ModuleList([
38
  PerceiverAttentionCA().to(self.device, self.weight_dtype) for _ in range(num_ca)
39
  ])
40
 
41
- dit.toonmage_ca = self.toonmage_ca
42
  dit.toonmage_double_interval = double_interval
43
  dit.toonmage_single_interval = single_interval
44
 
 
34
  num_ca += 1
35
  if 38 % single_interval != 0:
36
  num_ca += 1
37
+ self.pulid_ca = nn.ModuleList([
38
  PerceiverAttentionCA().to(self.device, self.weight_dtype) for _ in range(num_ca)
39
  ])
40
 
41
+ dit.pulid_ca = self.pulid_ca
42
  dit.toonmage_double_interval = double_interval
43
  dit.toonmage_single_interval = single_interval
44