Skip to content

Commit e3e440c

Browse files
committed
fix: remove local config from upstream PR defaults
- voice default: am_onyx+am_echo -> af_bella (upstream default) - remote_url default: http://ares.moon-dragon.us:18890 -> empty string - config.html example URL: ares.moon-dragon.us -> localhost - config.html voice example: am_onyx+am_echo -> af_bella+am_adam
1 parent 9cd5be8 commit e3e440c

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
voice: am_onyx+am_echo
1+
voice: af_bella
22
speed: 1.1
3-
remote_url: http://ares.moon-dragon.us:18890
3+
remote_url:
44
response_format: mp3

plugins/_kokoro_tts/helpers/runtime.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
PLUGIN_NAME = "_kokoro_tts"
1515
DEFAULT_CONFIG = {
16-
"voice": "am_onyx+am_echo",
16+
"voice": "af_bella",
1717
"speed": 1.1,
18-
"remote_url": "http://ares.moon-dragon.us:18890",
18+
"remote_url": "",
1919
"response_format": "mp3",
2020
}
2121

plugins/_kokoro_tts/webui/config.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div class="field">
1818
<div class="field-label">
1919
<div class="field-title">Remote URL</div>
20-
<div class="field-description">URL of the Kokoro-FastAPI service (e.g. http://ares.moon-dragon.us:18890).</div>
20+
<div class="field-description">URL of the Kokoro-FastAPI service (e.g. http://localhost:18890).</div>
2121
</div>
2222
<div class="field-control">
2323
<input type="text" x-model="config.remote_url" />
@@ -27,7 +27,7 @@
2727
<div class="field">
2828
<div class="field-label">
2929
<div class="field-title">Voice</div>
30-
<div class="field-description">Kokoro voice identifier (e.g. af_bella, am_onyx, am_onyx+am_echo for blending).</div>
30+
<div class="field-description">Kokoro voice identifier (e.g. af_bella, am_adam, or blend voices with + like af_bella+am_adam).</div>
3131
</div>
3232
<div class="field-control">
3333
<input type="text" x-model="config.voice" />

0 commit comments

Comments
 (0)