gabrielmotablima commited on
Commit
6ba0193
1 Parent(s): bf25f40

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -42,9 +42,9 @@ from PIL import Image
42
  from transformers import AutoTokenizer, AutoImageProcessor, VisionEncoderDecoderModel
43
 
44
  # load a fine-tuned image captioning model and corresponding tokenizer and image processor
45
- model = VisionEncoderDecoderModel.from_pretrained("laicsiifes/swin-gpt2-flickr30k-pt-br")
46
- tokenizer = AutoTokenizer.from_pretrained("laicsiifes/swin-gpt2-flickr30k-pt-br")
47
- image_processor = AutoImageProcessor.from_pretrained("laicsiifes/swin-gpt2-flickr30k-pt-br")
48
 
49
  # perform inference on an image
50
  url = "http://images.cocodataset.org/val2017/000000039769.jpg"
 
42
  from transformers import AutoTokenizer, AutoImageProcessor, VisionEncoderDecoderModel
43
 
44
  # load a fine-tuned image captioning model and corresponding tokenizer and image processor
45
+ model = VisionEncoderDecoderModel.from_pretrained("laicsiifes/swin-gportuguese-2")
46
+ tokenizer = AutoTokenizer.from_pretrained("laicsiifes/swin-gportuguese-2")
47
+ image_processor = AutoImageProcessor.from_pretrained("laicsiifes/swin-gportuguese-2")
48
 
49
  # perform inference on an image
50
  url = "http://images.cocodataset.org/val2017/000000039769.jpg"