Youtube Autonomous TTS Kokoro Onnx Module
This project is to include the TTS functionality using the official kokoro-onnx project (https://github.com/thewh1teagle/kokoro-onnx) which is apparently supporting more languages than the original project.
The models and voices needed are downloaded automatically by the kokoro-onnx dependency from Hugginface. But here are the links just in case you need to download them manually.
Models and voices
| Name | Description | Link |
|---|---|---|
| kokoro-v1.0.onnx | Model based on Onnx | https://github.com/nazdridoy/kokoro-tts/releases/download/v1.0.0/kokoro-v1.0.onnx |
| voices-v1.0.bin | Voices | https://github.com/nazdridoy/kokoro-tts/releases/download/v1.0.0/voices-v1.0.bin |
Supported languages
American EnglishBritish EnglishSpanishFrenchItalianJapaneseChineseHindiPortuguese
Supported voices
The voices are specifically created for a language and have a gender, and their name is based on this premise, but can be used in any other different language. Two valid voices are jf_tebukuro and im_nicola.
The first letter of the voice is the language (j for Japanese and i for Italian), and the second is for the gender (f is female and m is male). The rest is just the real name of that voice.
To check all the voices available, check the yta_tts_kokoro_voices dependency in https://github.com/Implosiv3/yta-tts-kokoro-voices.
Models
You need to have the kokoro-v1.0.onnx model file and the voices-v1.0.bin voices file and set the MODEL_PATH and VOICES_PATH set in the .env.
Some results
Here you have one example using the Spanish language: https://www.dailymotion.com/video/xa87qpy
Metadata
Release files for yta-tts-kokoro-onnx 0.0.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yta_tts_kokoro_onnx-0.0.16.tar.gz | 7.6 kB | Without provenance | Details for yta_tts_kokoro_onnx-0.0.16.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yta_tts_kokoro_onnx-0.0.16-py3-none-any.whl | Python 3 | none | any | Details for yta_tts_kokoro_onnx-0.0.16-py3-none-any.whl |
Total release size: 16.9 kB
Release files / yta_tts_kokoro_onnx-0.0.16.tar.gz
| Download URL | yta_tts_kokoro_onnx-0.0.16.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b05e94dda64c98dec673327df1d37c03c8a823118cc6d96c3ae635b72227f04e
|
|
BLAKE2b-256 checksum How to use checksums |
65aef5b41ab1add1a7f4e19060f9c542be76ee49462a4c0ebac21a4f55309894
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.0 CPython/3.9.0 Windows/10
|
Release files / yta_tts_kokoro_onnx-0.0.16-py3-none-any.whl
| Download URL | yta_tts_kokoro_onnx-0.0.16-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7e5597d5f8df8df5dc485bce989d4626f08b7b8723f6e0f464dbc4f7a88c949
|
|
BLAKE2b-256 checksum How to use checksums |
d7cb907807831811ea743621c29a92844fb15eba1af5420c119db6eed5d5b6ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.0 CPython/3.9.0 Windows/10
|
Security for yta-tts-kokoro-onnx 0.0.16
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.