mirror of
https://github.com/wassname/TTS.git
synced 2026-10-28 12:41:20 +08:00
Return default SpeakerManager if no d_vector_file
This commit is contained in:
1 parent
121e9ed685
commit
c3f8c4d5eb
1 file changed
+1
@@ -108,6 +108,7 @@ class SpeakerManager(EmbeddingManager):
|
||||
)
|
||||
|
||||
if get_from_config_or_model_args_with_default(config, "use_d_vector_file", False):
|
||||
speaker_manager = SpeakerManager()
|
||||
if get_from_config_or_model_args_with_default(config, "speakers_file", None):
|
||||
speaker_manager = SpeakerManager(
|
||||
d_vectors_file_path=get_from_config_or_model_args_with_default(config, "speaker_file", None)
|
||||
|
||||
Reference in new issue
Block a user