mirror of
https://github.com/wassname/TTS.git
synced 2026-09-11 12:00:24 +08:00
Fix SpeakerManager usage in synthesize.py
This commit is contained in:
@@ -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