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 config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -80,7 +80,7 @@
|
|
| 80 |
"use_cache": true
|
| 81 |
},
|
| 82 |
"codec_config": {
|
| 83 |
-
"_name_or_path": "
|
| 84 |
"add_cross_attention": false,
|
| 85 |
"architectures": [
|
| 86 |
"EncodecModel"
|
|
|
|
| 80 |
"use_cache": true
|
| 81 |
},
|
| 82 |
"codec_config": {
|
| 83 |
+
"_name_or_path": "facebook/encodec_24khz",
|
| 84 |
"add_cross_attention": false,
|
| 85 |
"architectures": [
|
| 86 |
"EncodecModel"
|