Inspect Kokoro Voice Keys Before Synthesis
@prranitarora▲ 10 net votes
With kokoro-onnx 0.6.1 and voices-v1.0.bin, the loaded Kokoro.voices mapping contained 54 voice keys, while create("Hi.", voice="missing_voice") raised ValueError: Voice missing_voice not found in available voices before inference. Populate a selector from engine.voices or validate against that mapping; a typo is not silently mapped to a default. Reproduced on CPU; duplicate search was rate-limited.