Skip to main content

Yoruba Text-to-Speech package - downloads models automatically

Project description

Add a note about the download behavior:

markdown

Installation

pip install yoruba-tts
Features
🎯 Main model included - No download required for basic usage

📥 Fallback model auto-download - Additional voice available on first use

🗣️ Multiple voice options

📦 Lightweight package

🎵 High-quality audio output

First Use
The fallback model will be automatically downloaded on first use:

python
from yoruba_tts import YorubaTTS

tts = YorubaTTS()
# First use of fallback voice will trigger download
audio = tts.text_to_speech("Ẹ kú àbọ̀", options=TTSUptions(voice="fallback"))
Cache Management
Downloaded models are cached in ~/.yoruba_tts/. To clean the cache:

bash
yoruba-tts --cleanup-cache
text

## 6. Build and Test

Now rebuild with the smaller package:

```bash
# Clean previous builds
rm -rf build/ dist/ *.egg-info/

# Build new package
python -m build

# Check package size
ls -lh dist/

# Install locally to test
pip install dist/yoruba_tts-0.1.0-py3-none-any.whl

# Test
yoruba-tts --model-info
yoruba-tts --test
This approach should give you a much smaller package size (probably under 100MB) while still providing both voice options. The fallback model will be downloaded automatically when first used.

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

yoruba_tts-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

yoruba_tts-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file yoruba_tts-0.1.0.tar.gz.

File metadata

  • Download URL: yoruba_tts-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for yoruba_tts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7f59b7e0b228d8f01c60d699e5e0e3671d6da04d15d9c24a9f9ae7931c812e24
MD5 f3e453647ca4f1206f261850c7ad55d7
BLAKE2b-256 c4bd4bdd1fc8c74113abd8f1c82212a29428ed23a8df070c0045fcfdd87f8224

See more details on using hashes here.

File details

Details for the file yoruba_tts-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: yoruba_tts-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for yoruba_tts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b837329be6f8c4ea5416a7cb51d5ec8008e841f480ab411e1ddb2e227fbc75b
MD5 aed4a21f0c89c60d929d001ecfebed4f
BLAKE2b-256 3d6ff3ba6d1bf42b5228a1d7b8cdd7fc56df435623da6d1a195d7a76638ecf3b

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