Spaces:
Build error
Build error
minor
Browse files
t2v_enhanced/model/diffusers_conditional/models/controlnet/image_embedder.py
CHANGED
|
@@ -72,7 +72,7 @@ class FrozenOpenCLIPImageEmbedder(AbstractEncoder):
|
|
| 72 |
output_tokens=False,
|
| 73 |
):
|
| 74 |
super().__init__()
|
| 75 |
-
model, _, _ =
|
| 76 |
arch,
|
| 77 |
device=torch.device("cpu"),
|
| 78 |
pretrained=version,
|
|
|
|
| 72 |
output_tokens=False,
|
| 73 |
):
|
| 74 |
super().__init__()
|
| 75 |
+
model, _, _ = create_model_and_transforms(
|
| 76 |
arch,
|
| 77 |
device=torch.device("cpu"),
|
| 78 |
pretrained=version,
|