dev
This commit is contained in:
parent
b69a2c0b59
commit
8caa75e388
@ -80,7 +80,7 @@ async function playAudio(audioUrl) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function playSpeech(text) {
|
function playSpeech(text) {
|
||||||
audioUrl = fetch(ttsUrl + '/generate', {
|
fetch(ttsUrl + '/generate', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json;charset=utf-8'
|
'Content-Type': 'application/json;charset=utf-8'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user