add multi-spk tts static model infer on server, test=tts

pull/2779/head
liangym 3 years ago
parent 700e281e4b
commit de07137312

@ -247,7 +247,9 @@ class TTSServerExecutor(TTSExecutor):
else:
# multi speaker do not have static model
if am_dataset in {"aishell3", "vctk"}:
pass
am_result = run_model(
self.am_predictor,
[part_phone_ids.numpy(), np.array([spk_id])])
else:
am_result = run_model(self.am_predictor,
[part_phone_ids.numpy()])

Loading…
Cancel
Save