Skip to main content

Youtube Autonomous TTS Kokoro Module

Project description

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 English
  • British English
  • Spanish
  • French
  • Italian
  • Japanese
  • Chinese
  • Hindi
  • Portuguese

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yta_tts_kokoro_onnx-0.0.16.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yta_tts_kokoro_onnx-0.0.16-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file yta_tts_kokoro_onnx-0.0.16.tar.gz.

File metadata

  • Download URL: yta_tts_kokoro_onnx-0.0.16.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10

File hashes

Hashes for yta_tts_kokoro_onnx-0.0.16.tar.gz
Algorithm Hash digest
SHA256 b05e94dda64c98dec673327df1d37c03c8a823118cc6d96c3ae635b72227f04e
MD5 1e3471113b5bbc3b514dfde52157e6d4
BLAKE2b-256 65aef5b41ab1add1a7f4e19060f9c542be76ee49462a4c0ebac21a4f55309894

See more details on using hashes here.

File details

Details for the file yta_tts_kokoro_onnx-0.0.16-py3-none-any.whl.

File metadata

File hashes

Hashes for yta_tts_kokoro_onnx-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 b7e5597d5f8df8df5dc485bce989d4626f08b7b8723f6e0f464dbc4f7a88c949
MD5 040e4e3e859d9c41daeadeb7a91a82df
BLAKE2b-256 d7cb907807831811ea743621c29a92844fb15eba1af5420c119db6eed5d5b6ab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page