add installation note
Browse files
README.md
CHANGED
|
@@ -55,6 +55,12 @@ This is the model card of a 🤗 [transformers](https://huggingface.co/docs/tran
|
|
| 55 |
|
| 56 |
## How to Get Started with the Model
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
The example below demonstrates how to generate text based on an image with `Pipeline`.
|
| 59 |
|
| 60 |
```py
|
|
|
|
| 55 |
|
| 56 |
## How to Get Started with the Model
|
| 57 |
|
| 58 |
+
> **Note:** Ensure you have `transformers` version **4.54.0** or later installed:
|
| 59 |
+
>
|
| 60 |
+
> ```bash
|
| 61 |
+
> pip install -U "transformers>=4.54.0"
|
| 62 |
+
> ```
|
| 63 |
+
|
| 64 |
The example below demonstrates how to generate text based on an image with `Pipeline`.
|
| 65 |
|
| 66 |
```py
|