mirror of
https://github.com/wassname/TTS.git
synced 2026-10-30 13:00:27 +08:00
Fix SpeakerManager usage in synthesize.py
This commit is contained in:
1 parent
545a00fc04
commit
aacbb3ed77
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user