diff --git a/TTS/utils/synthesizer.py b/TTS/utils/synthesizer.py index 6669df1edd..8c8ad3dd30 100644 --- a/TTS/utils/synthesizer.py +++ b/TTS/utils/synthesizer.py @@ -475,7 +475,7 @@ def tts( # [1, T, C] waveform = self.vocoder_model.inference(vocoder_input.to(vocoder_device)) if waveform.device != torch.device("cpu"): - waveform = waveform.cpu() + waveform = waveform.cpu() if not use_gl: waveform = waveform.numpy() wavs = waveform.squeeze()