mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
support google tts mod
This commit is contained in:
@@ -68,6 +68,7 @@ class TtsTask extends Task {
|
|||||||
tts_engine: vendor,
|
tts_engine: vendor,
|
||||||
tts_voice: voice,
|
tts_voice: voice,
|
||||||
cache_speech_handles: 1,
|
cache_speech_handles: 1,
|
||||||
|
GOOGLE_TTS_APPLICATION_CREDENTIALS: JSON.stringify(credentials.credentials)
|
||||||
}).catch((err) => this.logger.info({err}, `${this.name}: Error setting tts_engine on endpoint`));
|
}).catch((err) => this.logger.info({err}, `${this.name}: Error setting tts_engine on endpoint`));
|
||||||
|
|
||||||
if (!preCache) this.logger.info({vendor, language, voice, model}, `${this.name}:exec`);
|
if (!preCache) this.logger.info({vendor, language, voice, model}, `${this.name}:exec`);
|
||||||
|
|||||||
Reference in New Issue
Block a user