• Stefy Lanza (nextime / spora )'s avatar
    name kokoro's voices without loading it · 40aa3eb0
    Stefy Lanza (nextime / spora ) authored
    Languages landed but the voices did not: kokoro reported none until something
    loaded it, so a client could see nine languages and still have nothing to pick
    from. The names are now read out of the voices file the backend itself selects
    from — the same file, so the listing cannot offer a voice that synthesis would
    then reject — and the accent map already in the module decodes each one's
    language and gender. 54 voices across all nine languages.
    
    Pointedly NOT via _resolve_kokoro_files: that downloads a 28 MB release when
    nothing local matches, and /v1/models is a polled endpoint, so it must never be
    a download trigger. A file that is not on disk simply yields no names, and there
    is a test that fails if the listing path reaches for the network at all. The zip
    index read is memoised against the file's own mtime (27ms -> 0.1ms).
    
    A list a load actually enumerated still outranks the file, and a card's
    voices_path is honoured. XTTS keeps filling in after its first load, and parler
    stays empty with selection "described" — it has no speaker names to give.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_014T3rZozi1Ehk96NG1WesgC
    40aa3eb0
Name
Last commit
Last update
codai Loading commit data...
docs Loading commit data...
packaging Loading commit data...
samples Loading commit data...
tests Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CODERAI_API_DOCUMENTATION.md Loading commit data...
CoderAI.gif Loading commit data...
DISTRIBUTION.md Loading commit data...
LICENSE.md Loading commit data...
MULTIMODAL_CAPABILITIES.md Loading commit data...
MULTIMODAL_UI_EXAMPLES.md Loading commit data...
README.md Loading commit data...
REQUEST-geoclip-embeddings.md Loading commit data...
REQUEST-vpr-embeddings.md Loading commit data...
amdgpu-coredump-05000.bin Loading commit data...
build-oci.sh Loading commit data...
build.ps1 Loading commit data...
build.sh Loading commit data...
coderai Loading commit data...
coderai-broker-implementation-reference.md Loading commit data...
coderai-integration.md Loading commit data...
commands Loading commit data...
osxbuild.sh Loading commit data...
package-oci.sh Loading commit data...
package-tarball.sh Loading commit data...
requirements-acestep.txt Loading commit data...
requirements-crisperwhisper.txt Loading commit data...
requirements-h3.txt Loading commit data...
requirements-latentsync.txt Loading commit data...
requirements-longcat-train.txt Loading commit data...
requirements-longcat.txt Loading commit data...
requirements-melotts.txt Loading commit data...
requirements-musetalk.txt Loading commit data...
requirements-nemo.txt Loading commit data...
requirements-nvidia.txt Loading commit data...
requirements-ocr-paddle.txt Loading commit data...
requirements-ocr.txt Loading commit data...
requirements-parler.txt Loading commit data...
requirements-pyannote.txt Loading commit data...
requirements-surya.txt Loading commit data...
requirements-vllm.txt Loading commit data...
requirements-vulkan.txt Loading commit data...
requirements-xtts.txt Loading commit data...
requirements.txt Loading commit data...
run-oci.sh Loading commit data...
smoke-test-oci.sh Loading commit data...
todo.md Loading commit data...