Add torchaudio backend installation step
#2
by
astoyano
- opened
README.md
CHANGED
|
@@ -44,6 +44,12 @@ First, make sure to build the latest version of transformers:
|
|
| 44 |
pip install transformers>=4.49 peft torchaudio
|
| 45 |
```
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
Then run the code:
|
| 48 |
```python
|
| 49 |
import torch
|
|
|
|
| 44 |
pip install transformers>=4.49 peft torchaudio
|
| 45 |
```
|
| 46 |
|
| 47 |
+
Install a `torchaudio` backend, such as:
|
| 48 |
+
|
| 49 |
+
```shell
|
| 50 |
+
pip install soundfile
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
Then run the code:
|
| 54 |
```python
|
| 55 |
import torch
|