--- 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).