Text-to-Speech
TensorFlowTTS
Chamorro
audio
text-to-mel
dathudeptrai commited on
Commit
c325a6e
1 Parent(s): 24617be

Update README

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -39,7 +39,7 @@ tacotron2 = TFAutoModel.from_pretrained("tensorspeech/tts-tacotron2-baker-ch")
39
 
40
  text = "这是一个开源的端到端中文语音合成系统"
41
 
42
- input_ids = processor.text_to_sequence(text)
43
 
44
  decoder_output, mel_outputs, stop_token_prediction, alignment_history = tacotron2.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
  decoder_output, mel_outputs, stop_token_prediction, alignment_history = tacotron2.inference(
45
  input_ids=tf.expand_dims(tf.convert_to_tensor(input_ids, dtype=tf.int32), 0),