mirror of https://github.com/coqui-ai/TTS.git
trying to fix trailing whitespace
This commit is contained in:
parent
a4aca623c3
commit
42ff83f9b9
|
@ -172,7 +172,7 @@ class Synthesizer(object):
|
||||||
speaker_id = id_to_torch(speaker_id)
|
speaker_id = id_to_torch(speaker_id)
|
||||||
if speaker_id is not None and self.use_cuda:
|
if speaker_id is not None and self.use_cuda:
|
||||||
speaker_id = speaker_id.cuda()
|
speaker_id = speaker_id.cuda()
|
||||||
|
|
||||||
for sen in sens:
|
for sen in sens:
|
||||||
# preprocess the given text
|
# preprocess the given text
|
||||||
inputs = text_to_seqvec(sen, self.tts_config, self.use_cuda)
|
inputs = text_to_seqvec(sen, self.tts_config, self.use_cuda)
|
||||||
|
|
Loading…
Reference in New Issue