Spaces:
Running on Zero
Running on Zero
DramaBox Space README
Browse files
README.md
CHANGED
|
@@ -1,12 +1,42 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
-
pinned:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: DramaBox
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: indigo
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.44.1
|
| 8 |
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
+
license: other
|
| 11 |
+
license_name: ltx-2-community
|
| 12 |
+
license_link: https://huggingface.co/ResembleAI/Dramabox/blob/main/LICENSE
|
| 13 |
+
hardware: l40s
|
| 14 |
+
short_description: Expressive TTS with voice cloning β DramaBox demo
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# DramaBox β Expressive TTS Demo
|
| 18 |
+
|
| 19 |
+
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).
|
| 20 |
+
|
| 21 |
+
The model checkpoints download automatically on first launch.
|
| 22 |
+
|
| 23 |
+
## Prompt format
|
| 24 |
+
|
| 25 |
+
```
|
| 26 |
+
<speaker description>, "<dialogue>" <action direction> "<more dialogue>"
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
- **Inside double quotes**: dialogue and phonetic sounds (`"Hahaha"`, `"Mmmmm"`, `"Ugh"`)
|
| 30 |
+
- **Outside quotes**: stage directions (`She sighs.`, `He clears his throat.`)
|
| 31 |
+
- **Avoid inside quotes**: `Ahem`, `Pfft`, `Sigh`, `Gasp`, `Cough` β the model will speak them literally.
|
| 32 |
+
|
| 33 |
+
See the **Load an example prompt** dropdown for ready-made scene templates.
|
| 34 |
+
|
| 35 |
+
## Files
|
| 36 |
+
|
| 37 |
+
- `app.py` β Gradio UI
|
| 38 |
+
- `src/inference_server.py` β warm `TTSServer` (single load, ~2.5s/request)
|
| 39 |
+
- `src/inference.py` β CLI inference
|
| 40 |
+
- `src/model_downloader.py` β auto-fetches model from HuggingFace
|
| 41 |
+
- `ltx2/` β vendored LTX-2 pipelines
|
| 42 |
+
- `requirements.txt` β Python deps (includes `resemble-perth`)
|