Commit 39b9155
committed
fix: remove hardcoded voice:"default" that hangs Kokoro models
generateAudioViaProxy() hardcoded voice:"default" in the request body.
Kokoro models do not ship a voices/default.safetensors file, causing the
server to throw RuntimeError during streaming. Since the HTTP status was
already sent, the client never receives an error and hangs until timeout.
Use buildInjectedParams(cfg) instead, which omits voice and lets the
server use its own default. This aligns the direct-generate path with
the proxy path behavior.
Fixes #31 parent 86c7845 commit 39b9155
3 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments