Skip to content

Commit

Permalink
enable caching from azure tts streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
davehorton committed Apr 3, 2024
1 parent fbed59e commit f08fedb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/synth-audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ const synthMicrosoft = async(logger, {
params += `,language=${language}`;
params += ',vendor=microsoft';
params += `,voice=${voice}`;
params += ',write_cache_file=1';
if (region) params += `,region=${region}`;
if (custom_tts_endpoint) params += `,endpointId=${custom_tts_endpoint}`;
if (process.env.JAMBONES_HTTP_PROXY_IP) params += `,http_proxy_ip=${process.env.JAMBONES_HTTP_PROXY_IP}`;
Expand Down

0 comments on commit f08fedb

Please sign in to comment.