mirror of
https://github.com/coqui-ai/TTS.git
synced 2026-07-12 21:43:17 +02:00
Fix GL overriding PWGAN inference
This commit is contained in:
@@ -172,7 +172,7 @@ class Synthesizer(object):
|
||||
if self.use_cuda:
|
||||
vocoder_input.cuda()
|
||||
wav = self.pwgan.inference(vocoder_input, hop_size=self.ap.hop_length)
|
||||
if self.wavernn:
|
||||
elif self.wavernn:
|
||||
vocoder_input = torch.FloatTensor(postnet_output.T).unsqueeze(0)
|
||||
if self.use_cuda:
|
||||
vocoder_input.cuda()
|
||||
|
||||
Reference in New Issue
Block a user