mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
small fix for class name matching
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ def trim_silence(wav, ap):
|
||||
|
||||
|
||||
def inv_spectrogram(postnet_output, ap, CONFIG):
|
||||
if CONFIG.model in ["Tacotron", "TacotronGST"]:
|
||||
if CONFIG.model.lower() in ["tacotron"]:
|
||||
wav = ap.inv_spectrogram(postnet_output.T)
|
||||
else:
|
||||
wav = ap.inv_melspectrogram(postnet_output.T)
|
||||
|
||||
Reference in New Issue
Block a user