Remove start character for phonme sequenceing

This commit is contained in:
Eren Golge
2019-04-04 10:49:09 +02:00
parent 6e8b66aa89
commit 7baaf140f9
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -45,5 +45,5 @@ def synthesis(model, text, CONFIG, use_cuda, ap, truncated=False):
wav = ap.inv_spectrogram(postnet_output.T)
else:
wav = ap.inv_mel_spectrogram(postnet_output.T)
wav = wav[:ap.find_endpoint(wav)]
# wav = wav[:ap.find_endpoint(wav)]
return wav, alignment, decoder_output, postnet_output, stop_tokens