还远到正常版本
parent
e4dc47a83f
commit
983c203aa9
|
@ -25,7 +25,7 @@ export class RedisTaskProcessor {
|
||||||
console.log(`开始处理任务 [第${job.attemptsMade + 1}次尝试]: ${job.data.roleName}`);
|
console.log(`开始处理任务 [第${job.attemptsMade + 1}次尝试]: ${job.data.roleName}`);
|
||||||
|
|
||||||
const volcenAudioSpeakService = new VolcenAudioSpeakService();
|
const volcenAudioSpeakService = new VolcenAudioSpeakService();
|
||||||
// voiceId = await volcenAudioSpeakService.getVoiceId();
|
voiceId = await volcenAudioSpeakService.getVoiceId();
|
||||||
// voiceId = 'S_VK2Yw0Gb1';
|
// voiceId = 'S_VK2Yw0Gb1';
|
||||||
// 请求ossurl获取base64
|
// 请求ossurl获取base64
|
||||||
const base64 = await volcenAudioSpeakService.getAudioBase64(ossUrl);
|
const base64 = await volcenAudioSpeakService.getAudioBase64(ossUrl);
|
||||||
|
|
|
@ -102,6 +102,7 @@ export class VolcenAudioSpeakService {
|
||||||
bits: 16,
|
bits: 16,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
// model_type:1,
|
||||||
source: 2,
|
source: 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue