mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
removed + chars
silly mistake copy pasting
This commit is contained in:
1 parent
85a822e319
commit
a4aca623c3
1 file changed
+2
-2
@@ -170,8 +170,8 @@ class Synthesizer(object):
|
||||
print(sens)
|
||||
|
||||
speaker_id = id_to_torch(speaker_id)
|
||||
+ if speaker_id is not None and self.use_cuda:
|
||||
+ speaker_id = speaker_id.cuda()
|
||||
if speaker_id is not None and self.use_cuda:
|
||||
speaker_id = speaker_id.cuda()
|
||||
|
||||
for sen in sens:
|
||||
# preprocess the given text
|
||||
|
||||
Reference in new issue
Block a user