CoolFace
Apppublic

Hermolaou/chatterbox-wrapper-tts-self-healing

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
App README

Chatterbox Wrapper TTS Self-Healing Space

This app is a Space-ready conversion of the Colab notebook: Chatterbox Wrapper TTS.ipynb

It keeps the notebook's core workflow and adds production-oriented behavior:

  • —text chunking adapted from the notebook logic
  • —multilingual Chatterbox TTS generation
  • —self-healing retries:
  • —model reload on failure
  • —memory cache cleanup on OOM-like errors
  • —fallback to no reference audio prompt
  • —split-and-retry for difficult chunks
  • —silence fallback for unrecoverable chunks
  • —Hugging Face CLI integration:
  • —check/repair hf CLI
  • —hf upload latest generated output
  • —hf download snapshot with include patterns
  • —API fallback when CLI operation fails
  • —Hugging Face sign-in and permanent dataset storage:
  • —Sign in with HF button
  • —per-user dataset repo defaults
  • —upload full run bundles to a dataset repo for permanent storage

Secrets

Set this Space Secret for private repo operations:

  • —HF_TOKEN

Notes

  • —Runtime outputs are stored under ./outputs/.
  • —ffmpeg is installed via apt.txt and is used for optional cleaned MP3 export.