You need to point to the top level of the directory where you’ve cloned rhasspy/piper-voices · Hugging Face - I don’t know if linux mint has this as a package, you might have to clone the git repository yourself with git clone "https://huggingface.co/rhasspy/piper-voices" . The directory structure must be preserved. If you only want Italian, you’d still have to have the top directory with the README and the voices.json, but remove all the directories other than “it” and all the entries in voices.json other than
"it_IT-paola-medium": {
"key": "it_IT-paola-medium",
"name": "paola",
"language": {
"code": "it_IT",
"family": "it",
"region": "IT",
"name_native": "Italiano",
"name_english": "Italian",
"country_english": "Italy"
},
"quality": "medium",
"num_speakers": 1,
"speaker_id_map": {},
"files": {
"it/it_IT/paola/medium/it_IT-paola-medium.onnx": {
"size_bytes": 63511038,
"md5_digest": "3a44e73b12ca5d0c21a72e388b5847c8"
},
"it/it_IT/paola/medium/it_IT-paola-medium.onnx.json": {
"size_bytes": 7099,
"md5_digest": "cd471a3757c88a7a4baee6207248b5d5"
},
"it/it_IT/paola/medium/MODEL_CARD": {
"size_bytes": 303,
"md5_digest": "436971e8acb0a92dd8dbc42542e59d03"
}
},
"aliases": []
},
"it_IT-riccardo-x_low": {
"key": "it_IT-riccardo-x_low",
"name": "riccardo",
"language": {
"code": "it_IT",
"family": "it",
"region": "IT",
"name_native": "Italiano",
"name_english": "Italian",
"country_english": "Italy"
},
"quality": "x_low",
"num_speakers": 1,
"speaker_id_map": {},
"files": {
"it/it_IT/riccardo/x_low/it_IT-riccardo-x_low.onnx": {
"size_bytes": 28130791,
"md5_digest": "2c564b67f6bfaf3ad02d28ab528929b8"
},
"it/it_IT/riccardo/x_low/it_IT-riccardo-x_low.onnx.json": {
"size_bytes": 4161,
"md5_digest": "ed24cd550b79acbdc337e519849e9636"
},
"it/it_IT/riccardo/x_low/MODEL_CARD": {
"size_bytes": 260,
"md5_digest": "3e70f29ab998ac0380edc0cec7395e80"
}
},
"aliases": [
"it-riccardo_fasol-x-low"
]
},
Ideally this would be handled by your linux distribution. Please check if they have piper-voices as a package. On arch linux I see someone has split this nicely AUR (en) - piper-voices-it-it
It might also work if you don’t edit voices.json and just remove the non-Italian directories - try that first if you don’t feel confident editing the file.