Update controlnet_bria.py
Browse files- controlnet_bria.py +1 -1
controlnet_bria.py
CHANGED
|
@@ -75,7 +75,7 @@ class BriaControlNetModel(ModelMixin, ConfigMixin, PeftAdapterMixin):
|
|
| 75 |
# embedding_dim=self.inner_dim, pooled_projection_dim=pooled_projection_dim
|
| 76 |
# )
|
| 77 |
self.time_embed = TimestepProjEmbeddings(
|
| 78 |
-
embedding_dim=self.inner_dim,
|
| 79 |
)
|
| 80 |
|
| 81 |
self.context_embedder = nn.Linear(joint_attention_dim, self.inner_dim)
|
|
|
|
| 75 |
# embedding_dim=self.inner_dim, pooled_projection_dim=pooled_projection_dim
|
| 76 |
# )
|
| 77 |
self.time_embed = TimestepProjEmbeddings(
|
| 78 |
+
embedding_dim=self.inner_dim, max_period=time_theta
|
| 79 |
)
|
| 80 |
|
| 81 |
self.context_embedder = nn.Linear(joint_attention_dim, self.inner_dim)
|