mirror of
https://github.com/jambonz/speech-utils.git
synced 2025-12-19 03:37:49 +00:00
wip
This commit is contained in:
@@ -1062,7 +1062,7 @@ const synthWhisper = async(logger, {credentials, stats, voice, text, instruction
|
||||
params += ',write_cache_file=1';
|
||||
if (speed) params += `,speed=${speed}`;
|
||||
// comma is used to separated parameters in freeswitch tts module
|
||||
if (instructions) params += `,instructions=${instructions.replace(/\n/g, ' ').replace(',', ';')}`;
|
||||
if (instructions) params += `,instructions=${instructions.replace(/\n/g, ' ').replace(/,/g, ';')}`;
|
||||
params += '}';
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user