Skip to content

Commit

Permalink
Merge pull request coqui-ai#353 from richardburleigh/patch-1
Browse files Browse the repository at this point in the history
Fix GL overriding PWGAN inference
  • Loading branch information
reuben authored Feb 15, 2020
2 parents c2f1a1d + 02df28c commit a9632d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/synthesizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def tts(self, text):
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()
Expand Down

0 comments on commit a9632d5

Please sign in to comment.