dev
This commit is contained in:
parent
a0b9b8fbdd
commit
7f681938f5
@ -79,8 +79,11 @@ async function playAudio(audioUrl) {
|
||||
function playSpeech(text) {
|
||||
audioUrl = fetch(ttsUrl + '/generate', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json;charset=utf-8'
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"text": text,
|
||||
text: text,
|
||||
}),
|
||||
}).then(
|
||||
response => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user