mirror of https://github.com/coqui-ai/TTS.git
return the json entry of the downloaded model
This commit is contained in:
parent
1649ad3431
commit
0c52d27d65
|
@ -116,7 +116,7 @@ class ModelManager(object):
|
||||||
config["audio"]['stats_path'] = output_stats_path
|
config["audio"]['stats_path'] = output_stats_path
|
||||||
with open(config_path, "w") as jf:
|
with open(config_path, "w") as jf:
|
||||||
json.dump(config, jf)
|
json.dump(config, jf)
|
||||||
return output_model_path, output_config_path
|
return output_model_path, output_config_path, model_item
|
||||||
|
|
||||||
def _download_gdrive_file(self, gdrive_idx, output):
|
def _download_gdrive_file(self, gdrive_idx, output):
|
||||||
"""Download files from GDrive using their file ids"""
|
"""Download files from GDrive using their file ids"""
|
||||||
|
|
Loading…
Reference in New Issue