mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-11-08 20:43:46 +00:00
Replace retired Cartesia models with sonic-3.6 in the model list (#569)
Co-authored-by: cartesia-amarat <342162396+cartesia-amarat@users.noreply.github.com>
This commit is contained in:
1 parent
b16a6f9e16
commit
25bf653562
2 files changed
+9
-31
No files matched your search
@@ -1775,7 +1775,7 @@ const testCartesia = async(logger, synthAudio, credentials) => {
|
||||
async function getLanguagesVoicesForCartesia(credential) {
|
||||
if (credential) {
|
||||
const {model_id} = credential;
|
||||
const {languages} = TtsModelCartesia.find((m) => m.value === model_id);
|
||||
const {languages} = TtsModelCartesia.find((m) => m.value === model_id) || TtsModelCartesia[0];
|
||||
const voices = await fetchCartesiaVoices(credential);
|
||||
|
||||
const buildVoice = (d) => (
|
||||
|
||||
Reference in new issue
Block a user