add torch installation
Browse files
README.md
CHANGED
|
@@ -19,7 +19,9 @@ language:
|
|
| 19 |
This repo contains the pre-trained text-to-image model in 🤗 [Diffusers](https://github.com/huggingface/diffusers) format.
|
| 20 |
|
| 21 |
## Dependency
|
| 22 |
-
|
|
|
|
|
|
|
| 23 |
```
|
| 24 |
pip install git+https://github.com/huggingface/diffusers.git
|
| 25 |
```
|
|
|
|
| 19 |
This repo contains the pre-trained text-to-image model in 🤗 [Diffusers](https://github.com/huggingface/diffusers) format.
|
| 20 |
|
| 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
|
| 27 |
```
|