This commit is contained in:
mm 2024-10-30 10:24:32 +05:00
parent 90677847f1
commit ff41131805

View File

@ -95,7 +95,7 @@ function playSpeech(text) {
} }
return response.blob(); return response.blob();
}) })
.then(response => { .then(blob => {
const url = URL.createObjectURL(blob); const url = URL.createObjectURL(blob);
const audio = new Audio(url); const audio = new Audio(url);