dathudeptrai
commited on
Commit
•
225aa04
1
Parent(s):
2fa7fcc
Update README
Browse files
README.md
CHANGED
@@ -39,7 +39,7 @@ fastspeech2 = TFAutoModel.from_pretrained("tensorspeech/tts-fastspeech2-baker-ch
|
|
39 |
|
40 |
text = "这是一个开源的端到端中文语音合成系统"
|
41 |
|
42 |
-
input_ids = processor.text_to_sequence(text)
|
43 |
|
44 |
mel_before, mel_after, duration_outputs, _, _ = fastspeech2.inference(
|
45 |
input_ids=tf.expand_dims(tf.convert_to_tensor(input_ids, dtype=tf.int32), 0),
|
|
|
39 |
|
40 |
text = "这是一个开源的端到端中文语音合成系统"
|
41 |
|
42 |
+
input_ids = processor.text_to_sequence(text, inference=True)
|
43 |
|
44 |
mel_before, mel_after, duration_outputs, _, _ = fastspeech2.inference(
|
45 |
input_ids=tf.expand_dims(tf.convert_to_tensor(input_ids, dtype=tf.int32), 0),
|