mirror of https://github.com/coqui-ai/TTS.git
Remove redundant calls to keys() method of name_to_id
This commit is contained in:
parent
5dcc16d193
commit
76612b5a6a
|
@ -14,7 +14,7 @@ class SpeakerManager():
|
|||
|
||||
@property
|
||||
def speaker_names(self):
|
||||
return list(self.name_to_id.keys())
|
||||
return list(self.name_to_id)
|
||||
|
||||
|
||||
class LanguageManager():
|
||||
|
|
Loading…
Reference in New Issue