- add
openvoice/openvoice_app2.py
for v2, gradio demoGRADIO_SERVER_NAME=0.0.0.0 python openvoice/openvoice_app2.py
Could not load library libcudnn_cnn_infer.so.8
problem
Could not load library libcudnn_cnn_infer.so.8. Error: libcudnn_cnn_infer.so.8: cannot open shared object file: No such file or directory
Please make sure libcudnn_cnn_infer.so.8 is in your library path!
Aborted (core dumped)
find ~ -name "libcudnn_cnn_infer.so.8"
export LD_LIBRARY_PATH=/home/{username}/miniconda3/envs/{envname}/lib/python3.9/site-packages/nvidia/cudnn/lib:$LD_LIBRARY_PATH
As we detailed in our paper and website, the advantages of OpenVoice are three-fold:
1. Accurate Tone Color Cloning. OpenVoice can accurately clone the reference tone color and generate speech in multiple languages and accents.
2. Flexible Voice Style Control. OpenVoice enables granular control over voice styles, such as emotion and accent, as well as other style parameters including rhythm, pauses, and intonation.
3. Zero-shot Cross-lingual Voice Cloning. Neither of the language of the generated speech nor the language of the reference speech needs to be presented in the massive-speaker multi-lingual training dataset.
In April 2024, we released OpenVoice V2, which includes all features in V1 and has:
1. Better Audio Quality. OpenVoice V2 adopts a different training strategy that delivers better audio quality.
2. Native Multi-lingual Support. English, Spanish, French, Chinese, Japanese and Korean are natively supported in OpenVoice V2.
3. Free Commercial Use. Starting from April 2024, both V2 and V1 are released under MIT License. Free for commercial use.
openvoice.mp4
OpenVoice has been powering the instant voice cloning capability of myshell.ai since May 2023. Until Nov 2023, the voice cloning model has been used tens of millions of times by users worldwide, and witnessed the explosive user growth on the platform.
- Zengyi Qin at MIT and MyShell
- Wenliang Zhao at Tsinghua University
- Xumin Yu at Tsinghua University
- Ethan Sun at MyShell
Please see usage for detailed instructions.
Please see QA for common questions and answers. We will regularly update the question and answer list.
Join our Discord community and select the Developer
role upon joining to gain exclusive access to our developer-only channel! Don't miss out on valuable discussions and collaboration opportunities.
@article{qin2023openvoice,
title={OpenVoice: Versatile Instant Voice Cloning},
author={Qin, Zengyi and Zhao, Wenliang and Yu, Xumin and Sun, Xin},
journal={arXiv preprint arXiv:2312.01479},
year={2023}
}
OpenVoice V1 and V2 are MIT Licensed. Free for both commercial and research use.
This implementation is based on several excellent projects, TTS, VITS, and VITS2. Thanks for their awesome work!