添加对transformers库的依赖的说明

This commit is contained in:
HfCloud 2023-02-06 01:37:49 +08:00
parent 61814ff037
commit fd96635b2f
1 changed files with 1 additions and 5 deletions

View File

@ -24,11 +24,7 @@
python3需要再安装这些库使用pip安装就可以
```
torch flask openai diffusers
```
```
pip install torch flask openai diffusers
pip install torch flask openai transformers diffusers
```
当然如果使用cuda加速建议按照<a href="https://pytorch.org">pytorch官网</a>提供的方法安装支持cuda加速的torch版本。