Dramabox / README.md
Manmay's picture
DramaBox Space README
5d085de verified
|
Raw
History Blame
1.48 kB
---
title: DramaBox
emoji: 🎭
colorFrom: red
colorTo: indigo
sdk: gradio
sdk_version: 4.44.1
app_file: app.py
pinned: true
license: other
license_name: ltx-2-community
license_link: https://huggingface.co/ResembleAI/Dramabox/blob/main/LICENSE
hardware: l40s
short_description: Expressive TTS with voice cloning β€” DramaBox demo
---
# DramaBox β€” Expressive TTS Demo
Live demo of [`ResembleAI/Dramabox`](https://huggingface.co/ResembleAI/Dramabox). Write a scene prompt, optionally upload a 10-second voice reference, and generate. Audio is automatically watermarked with [Resemble Perth](https://github.com/resemble-ai/Perth).
The model checkpoints download automatically on first launch.
## Prompt format
```
<speaker description>, "<dialogue>" <action direction> "<more dialogue>"
```
- **Inside double quotes**: dialogue and phonetic sounds (`"Hahaha"`, `"Mmmmm"`, `"Ugh"`)
- **Outside quotes**: stage directions (`She sighs.`, `He clears his throat.`)
- **Avoid inside quotes**: `Ahem`, `Pfft`, `Sigh`, `Gasp`, `Cough` β€” the model will speak them literally.
See the **Load an example prompt** dropdown for ready-made scene templates.
## Files
- `app.py` β€” Gradio UI
- `src/inference_server.py` β€” warm `TTSServer` (single load, ~2.5s/request)
- `src/inference.py` β€” CLI inference
- `src/model_downloader.py` β€” auto-fetches model from HuggingFace
- `ltx2/` β€” vendored LTX-2 pipelines
- `requirements.txt` β€” Python deps (includes `resemble-perth`)