mirror of https://github.com/coqui-ai/TTS.git
Bug fix in speaker encoder load in inference time
This commit is contained in:
parent
adcc2f8299
commit
c32082a62c
|
@ -122,6 +122,7 @@ class Synthesizer(object):
|
|||
self.tts_model.cuda()
|
||||
|
||||
if self.encoder_checkpoint and hasattr(self.tts_model, "speaker_manager"):
|
||||
self.tts_model.speaker_manager.use_cuda = use_cuda
|
||||
self.tts_model.speaker_manager.init_encoder(self.encoder_checkpoint, self.encoder_config)
|
||||
|
||||
def _set_speaker_encoder_paths_from_tts_config(self):
|
||||
|
|
Loading…
Reference in New Issue