gtts plugin, sounds better than opentts:ko
This commit is contained in:
1 parent
7a4c71675b
commit
7e8c38a80f
6 files changed
+162
-59
No files matched your search
@@ -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());
|
||||
|
||||
|
||||
Reference in new issue
Block a user