mirror of https://github.com/coqui-ai/TTS.git
Fix SpeakerManager usage in `synthesize.py`
This commit is contained in:
parent
545a00fc04
commit
aacbb3ed77
|
@ -232,7 +232,7 @@ class Synthesizer(object):
|
|||
|
||||
# compute a new d_vector from the given clip.
|
||||
if speaker_wav is not None:
|
||||
speaker_embedding = self.speaker_manager.compute_d_vector_from_clip(speaker_wav)
|
||||
speaker_embedding = self.tts_model.speaker_manager.compute_d_vector_from_clip(speaker_wav)
|
||||
|
||||
use_gl = self.vocoder_model is None
|
||||
|
||||
|
|
Loading…
Reference in New Issue