mirror of https://github.com/coqui-ai/TTS.git
server bug fix
This commit is contained in:
parent
5ff8544d6a
commit
ff01490e48
|
@ -145,8 +145,10 @@ class Synthesizer(object):
|
|||
print(sen)
|
||||
|
||||
seq = np.array(self.input_adapter(sen))
|
||||
text_hat = sequence_to_phoneme(seq)
|
||||
print(text_hat)
|
||||
|
||||
if self.use_phonemes:
|
||||
text_hat = sequence_to_phoneme(seq)
|
||||
print(text_hat)
|
||||
|
||||
chars_var = torch.from_numpy(seq).unsqueeze(0).long()
|
||||
|
||||
|
|
Loading…
Reference in New Issue