Carti99 commited on
Commit
f6636e9
1 Parent(s): 41d03cb

Update README.md

Browse files

"import from transformers" was wrong

Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -106,8 +106,7 @@ from PIL import Image
106
  import requests
107
 
108
  # transformers version >= 4.21.0
109
- from modeling_altclip import AltCLIP
110
- from processing_altclip import AltCLIPProcessor
111
 
112
  # now our repo's in private, so we need `use_auth_token=True`
113
  model = AltCLIP.from_pretrained("BAAI/AltCLIP-m9")
 
106
  import requests
107
 
108
  # transformers version >= 4.21.0
109
+ from transformers import AltCLIPProcessor, AltCLIPModel
 
110
 
111
  # now our repo's in private, so we need `use_auth_token=True`
112
  model = AltCLIP.from_pretrained("BAAI/AltCLIP-m9")