update transformers
Browse files
README.md
CHANGED
|
@@ -21,6 +21,11 @@ This repo contains the pre-trained text-to-image model in 🤗 [Diffusers](https
|
|
| 21 |
## Dependency
|
| 22 |
Please install PyTorch first, following the instruction in [https://pytorch.org](https://pytorch.org)
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
Then install the latest github version of 🤗 Diffusers with `pip`:
|
| 25 |
```
|
| 26 |
pip install git+https://github.com/huggingface/diffusers.git
|
|
|
|
| 21 |
## Dependency
|
| 22 |
Please install PyTorch first, following the instruction in [https://pytorch.org](https://pytorch.org)
|
| 23 |
|
| 24 |
+
Install the latest version of transformers with `pip`:
|
| 25 |
+
```
|
| 26 |
+
pip install --upgrade transformers
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
Then install the latest github version of 🤗 Diffusers with `pip`:
|
| 30 |
```
|
| 31 |
pip install git+https://github.com/huggingface/diffusers.git
|