Update README.md
Browse files
README.md
CHANGED
@@ -40,9 +40,6 @@ You can use this model for image captioning tasks with the Hugging Face transfor
|
|
40 |
To use this model, you need to install the following libraries:
|
41 |
```python
|
42 |
pip install torch torchvision transformers
|
43 |
-
Code Example
|
44 |
-
python
|
45 |
-
Copy code
|
46 |
from transformers import VisionEncoderDecoderModel, ViTImageProcessor, GPT2Tokenizer
|
47 |
import torch
|
48 |
from PIL import Image
|
|
|
40 |
To use this model, you need to install the following libraries:
|
41 |
```python
|
42 |
pip install torch torchvision transformers
|
|
|
|
|
|
|
43 |
from transformers import VisionEncoderDecoderModel, ViTImageProcessor, GPT2Tokenizer
|
44 |
import torch
|
45 |
from PIL import Image
|