mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
support tts caching
This commit is contained in:
@@ -29,8 +29,8 @@ class TaskSay extends Task {
|
||||
}, this.synthesizer);
|
||||
|
||||
while (!this.killed && this.loop--) {
|
||||
this.logger.debug(`TaskSay: remaining loops ${this.loop}`);
|
||||
if (!filepath) {
|
||||
this.logger.debug('TaskSay:exec - retrieving synthesized audio');
|
||||
filepath = await synthAudio(opts);
|
||||
cs.trackTmpFile(filepath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user