Fix for using the `Synthesizer` out of the model

This commit is contained in:
Eren Gölge 2021-07-02 10:43:38 +02:00
parent db47f4f105
commit a4c658f5ef
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ def main():
print(
" > Available speaker ids: (Set --speaker_idx flag to one of these values to use the multi-speaker model."
)
print(synthesizer.speaker_manager.speaker_ids)
print(synthesizer.tts_model.speaker_manager.speaker_ids)
return
# check the arguments against a multi-speaker model.