dev
This commit is contained in:
parent
3c53b6641d
commit
4b9c951d11
@ -77,7 +77,7 @@ async function playAudio(audioUrl) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function playSpeech(text) {
|
function playSpeech(text) {
|
||||||
const audio = new Audio(ttsUrl + '/generate, {
|
const audio = new Audio(ttsUrl + '/generate', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
text: text,
|
text: text,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user