Update fastspeech2.py

pull/1254/head
TianYuan 3 years ago committed by GitHub
parent c81a3f0f83
commit b9a55262f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,

Loading…
Cancel
Save