Thanks for this project. I was looking for a way to run Kokoro via onnxruntime. Here are some comments and suggestions about what I've experienced.
- When passing a filename to load the onnx model, the filename (char_t *) gets cast to a (wchar_t *). That crashes, as least on Windows. You'd need to convert the multibyte string to wide char string.
- I'd like to be able to use different onnxruntime execution providers to run the model. I've hacked this into mine by passing a new parameter for execution provider and its parameters when creating the session. I also had to re-export the phonemizer and Kokoro models since each had an issue using the DirectML execution provider.
- It would be great to also support the KittenTTS model. It's almost a drop in replacement. Just a few differences with the input size and vocab.
- I re-exported the vocab from Kokoro, and got a slightly different one than in this repository. I didn't notice any output differences, so I'm not sure if it matters.
- Some words with apostrophes (e.g. doesn't, won't) aren't pronounced correctly. I don't see them in the dictionary, so I don't know if it's an issue with the input to the phonemizer model, or the output of it.
Thanks for this project. I was looking for a way to run Kokoro via onnxruntime. Here are some comments and suggestions about what I've experienced.