fix(bin.synthesize): return speakers names only (#147)

This commit is contained in:
Shavit 2024-11-09 12:35:54 -05:00 committed by GitHub
parent e18f7da973
commit 540e8d6cf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ def main():
logger.info(
"Available speaker ids: (Set --speaker_idx flag to one of these values to use the multi-speaker model."
)
logger.info(synthesizer.tts_model.speaker_manager.name_to_id)
logger.info(list(synthesizer.tts_model.speaker_manager.name_to_id.keys()))
return
# query langauge ids of a multi-lingual model.