未验证 提交 b9a55262 编写于 作者: 小湉湉's avatar 小湉湉 提交者: GitHub

Update fastspeech2.py

上级 c81a3f0f
......@@ -940,8 +940,6 @@ class StyleFastSpeech2Inference(FastSpeech2Inference):
Tensor
Output sequence of features (L, odim).
"""
if spk_id:
spk_id = paddle.to_tensor(spk_id)
normalized_mel, d_outs, p_outs, e_outs = self.acoustic_model.inference(
text,
durations=None,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册