Skip to main content

Youtube Autonomous Audio Narration Coqui Voice Module.

Project description

Youtube Autonomous Audio Narration Coqui Voice Module

The Audio narration Coqui voice module.

Please, check the 'pyproject.toml' file to see the dependencies.

General information

This project is based on coqui-tts (needs a license for commercial use), which is working with different models that are handled in a different way. Some models are older and others are more recent. There is, apparently, a sweet spot of dependencies versions to make all of them work together. I leave it here, but maybe we should prioritize the most modern models.

This project is, by now, using the xtts_v2 model only.

Stack estable universal

  • python==3.11.0.final.0
  • torch==2.5.1
  • torchaudio==2.5.1
  • TTS==0.25.x
  • transformers==4.38.2

Which is allowing VITS, XTTS v2, CSS10, Tacotron2 and other multilingual models.

About the models

The models are downloaded into the cache if needed. In windows, this means here (C:/Users/dania/AppData/Local/tts).

You must set the TTS_HOME environment variable to choose where your models are (mine is D:/coqui-tts). If you don't set it, the fallback will use the local data folder, but I made it to raise an Exception if this happens to be able to control it.

Downloading the model needs to day yes to an input to accept the non-commercial agreement.

Instructions

To make this coqui-tts work we will need the extra = ['languages'] and the espeak-ng installed to be able to narrate.

Espeak-NG

  1. Go to the releases page and download the latest version (or one that fits your needs), the .msi if Windows:
  1. Register the folder in which it has been installed in your system PATH.

You will probably need this also:

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_audio_narration_coqui-0.2.3.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

yta_audio_narration_coqui-0.2.3-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file yta_audio_narration_coqui-0.2.3.tar.gz.

File metadata

  • Download URL: yta_audio_narration_coqui-0.2.3.tar.gz
  • Upload date:
  • Size: 9.4 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_audio_narration_coqui-0.2.3.tar.gz
Algorithm Hash digest
SHA256 bb01af3e8d9d78e18d2d4b526c105fe9b0bcb4f85ab261c5b54fb6067b5fa5f1
MD5 841188e843588f6837c0cefd3d0e610e
BLAKE2b-256 ab4ae1b5da11f961e0d9cb9fb92e08477c9ff2996ad154088aca1af22fc89d37

See more details on using hashes here.

File details

Details for the file yta_audio_narration_coqui-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for yta_audio_narration_coqui-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d66a20d58b8ec9fc10b86d4ca959eaa7d8a9c51ea7343c785139d4f95e5f4917
MD5 9bc0accaa0a96794f091d2f0fb6a1f8a
BLAKE2b-256 a9f29d8ff29fab5f4f850186db40c4ad7d04607fa408bfdd425312ffb982859c

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