Spaces:
Running
Running
Update src/worker.js
Browse files- src/worker.js +1 -1
src/worker.js
CHANGED
@@ -423,7 +423,7 @@ function greet(text) {
|
|
423 |
self.postMessage({ type: "output", text: chunkText, result: audio });
|
424 |
}
|
425 |
})();
|
426 |
-
|
427 |
splitter.push(text);
|
428 |
splitter.close();
|
429 |
messages.push({ role: "assistant", content: text });
|
|
|
423 |
self.postMessage({ type: "output", text: chunkText, result: audio });
|
424 |
}
|
425 |
})();
|
426 |
+
|
427 |
splitter.push(text);
|
428 |
splitter.close();
|
429 |
messages.push({ role: "assistant", content: text });
|