diff --git a/coquitts/coqui.py b/coquitts/coqui.py index 4b1d694..e71e359 100644 --- a/coquitts/coqui.py +++ b/coquitts/coqui.py @@ -10,7 +10,9 @@ from ahserver.serverenv import ServerEnv class TTS: def __init__(self, model_name): manager = ModelManager() - model_path, config_path, model_item = manager.download_model("tts_models/zh-CN/baker/tacotron2-DDC-GST") + # model_path, config_path, model_item = manager.download_model("tts_models/zh-CN/baker/tacotron2-DDC-GST") + model_path, config_path, model_item = manager.download_model(model_name) + print(f'reult={model_path=}, {config_path=}, {model_item=}') self.synthesizer = Synthesizer( model_path, config_path, None, None, None, )