3 Star 22 Fork 8

Gitee 极速下载 / openvoice

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/myshell-ai/OpenVoice
克隆/下载
USAGE.md 3.76 KB
一键复制 编辑 原始数据 按行查看 历史
Zengyi Qin 提交于 2024-04-23 13:06 . Update USAGE.md

Usage

Table of Content

Quick Use

The input speech audio of OpenVoice can be in Any Language. OpenVoice can clone the voice in that speech audio, and use the voice to speak in multiple languages. For quick use, we recommend you to try the already deployed services:

Minimal Demo

For users who want to quickly try OpenVoice and do not require high quality or stability, click any of the following links:

    

Linux Install

This section is only for developers and researchers who are familiar with Linux, Python and PyTorch. Clone this repo, and run

conda create -n openvoice python=3.9
conda activate openvoice
git clone git@github.com:myshell-ai/OpenVoice.git
cd OpenVoice
pip install -e .

No matter if you are using V1 or V2, the above installation is the same.

OpenVoice V1

Download the checkpoint from here and extract it to the checkpoints folder.

1. Flexible Voice Style Control. Please see demo_part1.ipynb for an example usage of how OpenVoice enables flexible style control over the cloned voice.

2. Cross-Lingual Voice Cloning. Please see demo_part2.ipynb for an example for languages seen or unseen in the MSML training set.

3. Gradio Demo.. We provide a minimalist local gradio demo here. We strongly suggest the users to look into demo_part1.ipynb, demo_part2.ipynb and the QnA if they run into issues with the gradio demo. Launch a local gradio demo with python -m openvoice_app --share.

OpenVoice V2

Download the checkpoint from here and extract it to the checkpoints_v2 folder.

Install MeloTTS:

pip install git+https://github.com/myshell-ai/MeloTTS.git
python -m unidic download

Demo Usage. Please see demo_part3.ipynb for example usage of OpenVoice V2. Now it natively supports English, Spanish, French, Chinese, Japanese and Korean.

Install on Other Platforms

This section provides the unofficial installation guides by open-source contributors in the community:

  • Windows
    • Guide by @Alienpups
    • You are welcome to contribute if you have a better installation guide. We will list you here.
  • Docker
    • Guide by @StevenJSCF
    • You are welcome to contribute if you have a better installation guide. We will list you here.
Python
1
https://gitee.com/mirrors/openvoice.git
git@gitee.com:mirrors/openvoice.git
mirrors
openvoice
openvoice
main

搜索帮助