This commit is contained in:
mm 2024-10-30 10:11:19 +05:00
parent f3bce77795
commit b69a2c0b59

View File

@ -91,7 +91,7 @@ function playSpeech(text) {
}).then(
response => {
audio = document.createElement('audio');
audio.src = audioUrl;
audio.src = response.blob();
audio.play().catch(error => {
console.error('Ошибка при воспроизведении:', error);
});