Your Name 3 years ago
parent
commit
ef85b447b2
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tests/zhtest.py

+ 5 - 0
tests/zhtest.py

@@ -0,0 +1,5 @@
+import zhtts
+
+text = "2020年,这是一个开源的端到端中文语音合成系统"
+tts = zhtts.TTS() # use fastspeech2 by default
+tts.text2wav(text, "demo.wav")