Fixed crash with announcer
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = class extends BaseEngine {
|
||||
super('sam', 'Software Automatic Mouth', 'wav')
|
||||
}
|
||||
getDefaultVoice() {
|
||||
return 'en';
|
||||
return 'sam';
|
||||
}
|
||||
async getSpeechFile(text, filepath, voice = this.getDefaultVoice(), params = {}) {
|
||||
let sam = new Sam();
|
||||
|
Reference in New Issue
Block a user