bugfix
This commit is contained in:
parent
fb14aef827
commit
ef18f8a114
@ -10,7 +10,9 @@ from ahserver.serverenv import ServerEnv
|
|||||||
class TTS:
|
class TTS:
|
||||||
def __init__(self, model_name):
|
def __init__(self, model_name):
|
||||||
manager = ModelManager()
|
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(
|
self.synthesizer = Synthesizer(
|
||||||
model_path, config_path, None, None, None,
|
model_path, config_path, None, None, None,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user