mirror of
https://github.com/jambonz/speech-utils.git
synced 2025-12-19 03:37:49 +00:00
custom tts vendor
This commit is contained in:
@@ -330,10 +330,10 @@ test('Custom Vendor speech synth tests', async(t) => {
|
||||
const fn = require('..');
|
||||
const {synthAudio, client} = fn(opts, logger);
|
||||
|
||||
// if (!process.env.CUSTOM_VENDOR_TTS_URL) {
|
||||
// t.pass('skipping Custom Vendor speech synth tests since CUSTOM_VENDOR_TTS_URL not provided');
|
||||
// return t.end();
|
||||
// }
|
||||
if (!process.env.CUSTOM_VENDOR_TTS_URL) {
|
||||
t.pass('skipping Custom Vendor speech synth tests since CUSTOM_VENDOR_TTS_URL not provided');
|
||||
return t.end();
|
||||
}
|
||||
try {
|
||||
let opts = await synthAudio(stats, {
|
||||
vendor: 'custom:somethingnew',
|
||||
|
||||
Reference in New Issue
Block a user