Update README.md
Browse files
README.md
CHANGED
|
@@ -69,7 +69,6 @@ Try out Bark yourself!
|
|
| 69 |
|
| 70 |
## 🤗 Transformers Usage
|
| 71 |
|
| 72 |
-
|
| 73 |
You can run Bark locally with the 🤗 Transformers library from version 4.31.0 onwards.
|
| 74 |
|
| 75 |
1. First install the 🤗 [Transformers library](https://github.com/huggingface/transformers) and scipy:
|
|
@@ -97,7 +96,6 @@ scipy.io.wavfile.write("bark_out.wav", rate=speech["sampling_rate"], data=speech
|
|
| 97 |
```python
|
| 98 |
from transformers import AutoProcessor, AutoModel
|
| 99 |
|
| 100 |
-
|
| 101 |
processor = AutoProcessor.from_pretrained("suno/bark-small")
|
| 102 |
model = AutoModel.from_pretrained("suno/bark-small")
|
| 103 |
|
|
|
|
| 69 |
|
| 70 |
## 🤗 Transformers Usage
|
| 71 |
|
|
|
|
| 72 |
You can run Bark locally with the 🤗 Transformers library from version 4.31.0 onwards.
|
| 73 |
|
| 74 |
1. First install the 🤗 [Transformers library](https://github.com/huggingface/transformers) and scipy:
|
|
|
|
| 96 |
```python
|
| 97 |
from transformers import AutoProcessor, AutoModel
|
| 98 |
|
|
|
|
| 99 |
processor = AutoProcessor.from_pretrained("suno/bark-small")
|
| 100 |
model = AutoModel.from_pretrained("suno/bark-small")
|
| 101 |
|