mirror of https://github.com/coqui-ai/TTS.git
parent
85a822e319
commit
a4aca623c3
|
@ -170,8 +170,8 @@ class Synthesizer(object):
|
||||||
print(sens)
|
print(sens)
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue