TTS icon indicating copy to clipboard operation
TTS copied to clipboard

Remove redundant calls to keys() method of name_to_id

Open imkasen opened this issue 1 year ago β€’ 1 comments

Fix the problem that I mentioned in https://github.com/coqui-ai/TTS/issues/3434#issuecomment-1871181181.

name_to_id() in class SpeakerManager already returns dict_keys type, but keys() method is called again on name_to_id in speaker_names(), which results in the error AttributeError: 'dict_keys' object has no attribute 'keys'

imkasen avatar Jan 03 '24 13:01 imkasen

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jan 03 '24 13:01 CLAassistant

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.

stale[bot] avatar Feb 03 '24 13:02 stale[bot]