Instructions to use suno/bark with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use suno/bark with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="suno/bark")# Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("suno/bark") model = AutoModelForTextToWaveform.from_pretrained("suno/bark") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -75,7 +75,8 @@ You can run Bark locally with the 🤗 Transformers library from version 4.31.0
|
|
| 75 |
1. First install the 🤗 [Transformers library](https://github.com/huggingface/transformers) and scipy:
|
| 76 |
|
| 77 |
```
|
| 78 |
-
pip install
|
|
|
|
| 79 |
```
|
| 80 |
|
| 81 |
2. Run inference via the `Text-to-Speech` (TTS) pipeline. You can infer the bark model via the TTS pipeline in just a few lines of code!
|
|
|
|
| 75 |
1. First install the 🤗 [Transformers library](https://github.com/huggingface/transformers) and scipy:
|
| 76 |
|
| 77 |
```
|
| 78 |
+
pip install --upgrade pip
|
| 79 |
+
pip install --upgrade transformers scipy
|
| 80 |
```
|
| 81 |
|
| 82 |
2. Run inference via the `Text-to-Speech` (TTS) pipeline. You can infer the bark model via the TTS pipeline in just a few lines of code!
|