Fix a bug of streaming_tts_server

Fix "Failed to get model related files" when using fastspeech2_csmsc_onnx model in streaming_tts_server.
pull/3865/head
SuiYunsy 11 months ago committed by GitHub
parent 658d19a73e
commit 4bb197012d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -77,7 +77,7 @@ class TTSServerExecutor(TTSExecutor):
)
self.am_res_path = self.task_resource.res_dir
self.am_ckpt = os.path.join(
self.am_res_path, self.task_resource.res_dict['ckpt'][0])
self.am_res_path, self.task_resource.res_dict['ckpt'])
# must have phones_dict in acoustic
self.phones_dict = os.path.join(
self.am_res_path,

Loading…
Cancel
Save