Update to fix error when using with transformers

#14
LAION eV org

The following code breaks without this change:

text_encoder = CLIPTextModelWithProjection.from_pretrained("laion/CLIP-ViT-bigG-14-laion2B-39B-b160k")
LAION eV org

fixed and verified

rwightman changed pull request status to closed

Sign up or log in to comment