mirror of
https://github.com/wassname/TTS.git
synced 2026-09-11 12:00:24 +08:00
bug fix for multispeaker test run
This commit is contained in:
+1
-1
@@ -109,7 +109,7 @@ def synthesis(model,
|
||||
inputs = text_to_seqvec(text, CONFIG, use_cuda)
|
||||
speaker_id = id_to_torch(speaker_id)
|
||||
if use_cuda:
|
||||
speaker_id.cuda()
|
||||
speaker_id = speaker_id.cuda()
|
||||
# synthesize voice
|
||||
decoder_output, postnet_output, alignments, stop_tokens = run_model(
|
||||
model, inputs, CONFIG, truncated, speaker_id, style_mel)
|
||||
|
||||
Reference in New Issue
Block a user