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.15.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.15-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yta_tts_kokoro_onnx-0.0.15.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.15.tar.gz
Algorithm Hash digest
SHA256 2dea1e5f41c93db0bb67956b9956948a27f550324e82374e2fc89f19c604594c
MD5 d8097cba3d7ef61a0f22443dd9359755
BLAKE2b-256 56d93abd0eede5781907792509e751c06c29326a1eddb71471d40fe34ba57dcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yta_tts_kokoro_onnx-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 0a6cbfd54902f847fd3541bc0b2fb0c912205e2497b7335d635cba4137bd2f7c
MD5 1a89d61f5cde2ed00cf03e10d1b9077a
BLAKE2b-256 5e0c95373a0c5fb3860632750a5341dd5e38e0a7e7089ef15965f26a620bdd8e

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