Update manage.py

Issue at _set_model_item() function
While using fairseq model dataset & model variables are not set
This commit is contained in:
Krishna Malavathu 2024-09-11 15:40:17 +05:30 committed by GitHub
parent dbf1a08a0d
commit 59dbfe1184
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -262,6 +262,7 @@ class ModelManager(object):
if "fairseq" in model_name:
model_type = "tts_models"
lang = model_name.split("/")[1]
dataset, model = model_name.split("/")
model_item = {
"model_type": "tts_models",
"license": "CC BY-NC 4.0",