Fix: handle echogarden align error (#620)

* may re-generate when "no matching voice found"

* may regenerate if the original text has not-matching voice

* specify language to avoid "no matching voice found"
This commit is contained in:
an-lee
2024-05-20 10:30:28 +08:00
committed by GitHub
parent e0b2f59a23
commit cdbaf89005
10 changed files with 997 additions and 464 deletions

View File

@@ -100,6 +100,7 @@ class EchogardenWrapper {
transcript: string,
options: AlignmentOptions
) => {
logger.debug("echogarden-align:", transcript, options);
try {
return await this.align(input, transcript, options);
} catch (err) {