Spaces:
Running
on
Zero
Running
on
Zero
SunderAli17
commited on
Commit
•
fab6dd2
1
Parent(s):
7a00d58
Update toonmage/fluxpipeline.py
Browse files- 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.
|
38 |
PerceiverAttentionCA().to(self.device, self.weight_dtype) for _ in range(num_ca)
|
39 |
])
|
40 |
|
41 |
-
dit.
|
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 |
|