Update README.md

#2
by Carti99 - opened
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")