Fix error in model name

#9
by malformed369 - opened
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -38,8 +38,8 @@ import requests
38
  from PIL import Image
39
  from transformers import BlipProcessor, BlipForQuestionAnswering
40
 
41
- processor = BlipProcessor.from_pretrained("Salesforce/blip-vqa-capfilt-large ")
42
- model = BlipForQuestionAnswering.from_pretrained("Salesforce/blip-vqa-capfilt-large ")
43
 
44
  img_url = 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/demo.jpg'
45
  raw_image = Image.open(requests.get(img_url, stream=True).raw).convert('RGB')
 
38
  from PIL import Image
39
  from transformers import BlipProcessor, BlipForQuestionAnswering
40
 
41
+ processor = BlipProcessor.from_pretrained("Salesforce/blip-vqa-capfilt-large")
42
+ model = BlipForQuestionAnswering.from_pretrained("Salesforce/blip-vqa-capfilt-large")
43
 
44
  img_url = 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/demo.jpg'
45
  raw_image = Image.open(requests.get(img_url, stream=True).raw).convert('RGB')