mirror of https://github.com/coqui-ai/TTS.git
rename manager
parent
36143fee26
commit
a5c0d9780f
|
@ -7,3 +7,12 @@ class SpeakerManager():
|
|||
@property
|
||||
def name_to_id(self):
|
||||
return self.speakers.keys()
|
||||
|
||||
|
||||
class LanguageManager():
|
||||
def __init__(self, config):
|
||||
self.langs = config["languages"]
|
||||
|
||||
@property
|
||||
def name_to_id(self):
|
||||
return self.langs
|
Loading…
Reference in New Issue