dev
This commit is contained in:
parent
f3bce77795
commit
b69a2c0b59
@ -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);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user