File size: 1,138 Bytes
0f5f0ce
13ff032
 
 
 
0f5f0ce
 
 
 
 
 
 
13ff032
 
61b44ee
13ff032
 
 
 
 
 
 
 
 
 
 
 
61b44ee
13ff032
61b44ee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: Tool ASR Generate
emoji: 🌍
colorFrom: purple
colorTo: gray
sdk: gradio
sdk_version: 6.22.0
python_version: '3.12'
app_file: app.py
pinned: false
---

# Tool ASR Generate

Batch text-to-speech using [openbmb/VoxCPM2](https://huggingface.co/openbmb/VoxCPM2) on a **ZeroGPU** Space,
focused on **πŸ‡°πŸ‡­ Khmer** and **πŸ‡¬πŸ‡§ English**.

Upload a CSV / JSON / XLSX file with a `text` column, set an optional reference voice and
generation settings in the sidebar, click **Generate All**, and download a ZIP with every
generated `.wav` plus a `metadata.csv` / `metadata.json` manifest β€” ready to push to a
Hugging Face Dataset repo. A preview of the first 10 generated rows (text + playable audio)
shows up right after generation.

Each row is auto-detected as English or Khmer (from the script), or set explicitly with a
`language` column β€” this is only used to label the output metadata, generation itself uses
one shared reference voice for every row.

Make sure the Space's **Hardware** is set to **ZeroGPU** in Settings.

See `sample_input.csv` for the expected input format (includes example Khmer and English rows).