gtts plugin, sounds better than opentts:ko

This commit is contained in:
polv committed 2026-08-26 18:21:47 +07:00
1 parent 7a4c71675b
commit 7e8c38a80f
6 files changed
+162 -59

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ async function playAudio() {
if (navigator.platform === "Win32" || !(await playAudioTTSPlugin())) {
if (!audioEl.value) return;
const url = new URL("http://localhost:5500/api/tts");
const url = new URL("/api/tts", location.origin);
url.searchParams.set("voice", "glow-speak:ko_kss");
url.searchParams.set("text", getMainText());