This commit is contained in:
mm 2024-10-30 01:45:16 +05:00
parent 3c53b6641d
commit 4b9c951d11

View File

@ -77,7 +77,7 @@ async function playAudio(audioUrl) {
}
function playSpeech(text) {
const audio = new Audio(ttsUrl + '/generate, {
const audio = new Audio(ttsUrl + '/generate', {
method: 'POST',
body: JSON.stringify({
text: text,