Update README.md
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ We refined the model on the dataset with descriptions and movie posters by russi
|
|
31 |
```python
|
32 |
from PIL import Image
|
33 |
import torch
|
34 |
-
from transformers import AutoTokenizer,
|
35 |
|
36 |
tokenizer = AutoTokenizer.from_pretrained("dumperize/movie-picture-captioning")
|
37 |
feature_extractor = ViTFeatureExtractor.from_pretrained("dumperize/movie-picture-captioning")
|
|
|
31 |
```python
|
32 |
from PIL import Image
|
33 |
import torch
|
34 |
+
from transformers import AutoTokenizer, ViTFeatureExtractor, VisionEncoderDecoderModel
|
35 |
|
36 |
tokenizer = AutoTokenizer.from_pretrained("dumperize/movie-picture-captioning")
|
37 |
feature_extractor = ViTFeatureExtractor.from_pretrained("dumperize/movie-picture-captioning")
|