mirror of https://github.com/coqui-ai/TTS.git
parent
ea3ae40888
commit
64fdd0ed8b
|
@ -260,10 +260,13 @@ class ModelManager(object):
|
||||||
def _set_model_item(self, model_name):
|
def _set_model_item(self, model_name):
|
||||||
# fetch model info from the dict
|
# fetch model info from the dict
|
||||||
if "fairseq" in model_name:
|
if "fairseq" in model_name:
|
||||||
model_type = "tts_models"
|
split = model_name.split("/")
|
||||||
lang = model_name.split("/")[1]
|
model_type = split[0]
|
||||||
|
lang = split[1]
|
||||||
|
dataset = split[2]
|
||||||
|
model = split[3]
|
||||||
model_item = {
|
model_item = {
|
||||||
"model_type": "tts_models",
|
"model_type": model_type,
|
||||||
"license": "CC BY-NC 4.0",
|
"license": "CC BY-NC 4.0",
|
||||||
"default_vocoder": None,
|
"default_vocoder": None,
|
||||||
"author": "fairseq",
|
"author": "fairseq",
|
||||||
|
|
Loading…
Reference in New Issue