nielsr HF staff commited on
Commit
d332311
1 Parent(s): 5623896

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -25,10 +25,10 @@ Pre-trained representations are becoming crucial for many NLP and perception tas
25
  from PIL import Image
26
  import requests
27
 
28
- from transformers import ALIGNProcessor, ALIGNModel
29
 
30
- model = ALIGNModel.from_pretrained("kakaobrain/align-base")
31
- processor = ALIGNProcessor.from_pretrained("kakaobrain/align-base")
32
 
33
  url = "http://images.cocodataset.org/val2017/000000039769.jpg"
34
  image = Image.open(requests.get(url, stream=True).raw)
 
25
  from PIL import Image
26
  import requests
27
 
28
+ from transformers import AlignProcessor, AlignModel
29
 
30
+ processor = AlignProcessor.from_pretrained("kakaobrain/align-base")
31
+ model = AlignModel.from_pretrained("kakaobrain/align-base")
32
 
33
  url = "http://images.cocodataset.org/val2017/000000039769.jpg"
34
  image = Image.open(requests.get(url, stream=True).raw)