Commit
·
c194897
1
Parent(s):
80542e4
Update README
Browse files
README.md
CHANGED
|
@@ -39,7 +39,7 @@ mb_melgan = TFAutoModel.from_pretrained("tensorspeech/tts-mb_melgan-baker-ch")
|
|
| 39 |
|
| 40 |
text = "这是一个开源的端到端中文语音合成系统"
|
| 41 |
|
| 42 |
-
input_ids = processor.text_to_sequence(text)
|
| 43 |
|
| 44 |
# tacotron2 inference (text-to-mel)
|
| 45 |
decoder_output, mel_outputs, stop_token_prediction, alignment_history = tacotron2.inference(
|
|
|
|
| 39 |
|
| 40 |
text = "这是一个开源的端到端中文语音合成系统"
|
| 41 |
|
| 42 |
+
input_ids = processor.text_to_sequence(text, inference=True)
|
| 43 |
|
| 44 |
# tacotron2 inference (text-to-mel)
|
| 45 |
decoder_output, mel_outputs, stop_token_prediction, alignment_history = tacotron2.inference(
|