Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Chinese vits models #368

Merged
merged 4 commits into from
Oct 18, 2023
Merged

Conversation

csukuangfj
Copy link
Collaborator

Usage

Download the model

GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/csukuangfj/vits-zh-aishell3

cd vits-zh-aishell3
git lfs --include "*.onnx"

Run it

./build/bin/sherpa-onnx-offline-tts \
  --vits-model=./vits-zh-aishell3/vits-aishell3.onnx \
  --vits-lexicon=./vits-zh-aishell3/lexicon.txt \
  --vits-tokens=./vits-zh-aishell3/tokens.txt  \
  --sid=43 \
  --output-filename="43.wav" \
  '林美丽最美丽'

I have converted 43.wav to 43.mov, which is attached below:

43.mov

Please see
https://k2-fsa.github.io/sherpa/onnx/tts/index.html
for details.

@csukuangfj csukuangfj merged commit 1ee79e3 into k2-fsa:master Oct 18, 2023
132 of 144 checks passed
@csukuangfj csukuangfj deleted the vits-chinese branch October 18, 2023 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant