Views
No views yet
1git clone https://github.com/OpenBMB/VoxCPM.git
2cd VoxCPM
3# recommended to use a virtual environment
4pip install voxcpm
5# for voice cloning, I have to install torchcodec.
6pip install torchcodec==0.9[!WARNING] Make sure torchcodec compatible with Pytoch & Python. You can check compatibility here
1from huggingface_hub import snapshot_download
2snapshot_download("openbmb/VoxCPM1.5", local_dir="./pretrained/VoxCPM-1.5")
3snapshot_download("darknight054/VoxCPM-1.5B-HI-LORA", local_dir="./pretrained/VoxCPM-1.5B-HI-LORA")1python scripts/test_voxcpm_lora_infer.py \
2 --ckpt_dir ./pretrained/VoxCPM-1.5B-HI-LORA \
3 --text "किताबों के अलावा ऐसे कई पत्रिका ब्लॉग या समाचार पत्र हैं जिसे हम पढ़ते हैं" \
4 --prompt_audio /path/to/reference.wav \
5 --prompt_text "Reference audio transcript (hindi)" \
6 --output cloned_output.wav@inproceedings{ai4bharat2024indicvoices_r,
author = {Ashwin Sankar and
Srija Anand and
Praveen Srinivasa Varadhan and
Sherry Thomas and
Mehak Singal and
Shridhar Kumar and
Deovrat Mehendale and
Aditi Krishana and
Giri Raju and
Mitesh M. Khapra},
editor = {Amir Globersons and
Lester Mackey and
Danielle Belgrave and
Angela Fan and
Ulrich Paquet and
Jakub M. Tomczak and
Cheng Zhang},
title = {IndicVoices-R: Unlocking a Massive Multilingual Multi-speaker Speech
Corpus for Scaling Indian {TTS}},
booktitle = {Advances in Neural Information Processing Systems 38: Annual Conference
on Neural Information Processing Systems 2024, NeurIPS 2024, Vancouver,
BC, Canada, December 10 - 15, 2024},
year = {2024},
url = {http://papers.nips.cc/paper\_files/paper/2024/hash/7dfcaf4512bbf2a807a783b90afb6c09-Abstract-Datasets\_and\_Benchmarks\_Track.html},
}