refac
This commit is contained in:
1 parent
48d1e67e79
commit
0eb1246c87
2 files changed
+5
-5
No files matched your search
@@ -292,7 +292,7 @@
|
||||
loadingSpeech = false;
|
||||
});
|
||||
|
||||
if (url) {
|
||||
if (url && speaking) {
|
||||
$audioQueue.enqueue(url);
|
||||
loadingSpeech = false;
|
||||
}
|
||||
@@ -313,7 +313,7 @@
|
||||
loadingSpeech = false;
|
||||
});
|
||||
|
||||
if (res) {
|
||||
if (res && speaking) {
|
||||
const blob = await res.blob();
|
||||
const url = URL.createObjectURL(blob);
|
||||
|
||||
|
||||
Reference in new issue
Block a user