Enable wildcards in voice preloading

This commit is contained in:
Michael Hansen 2022-05-09 17:31:05 -04:00
commit 1bec818bc7
4 changed files with 36 additions and 7 deletions

View file

@ -180,7 +180,12 @@ class Mimic3Voice(metaclass=ABCMeta):
text_array = np.expand_dims(np.array(phoneme_ids, dtype=np.int64), 0)
text_lengths_array = np.array([text_array.shape[1]], dtype=np.int64)
scales_array = np.array(
[noise_scale, length_scale, noise_w,], dtype=np.float32,
[
noise_scale,
length_scale,
noise_w,
],
dtype=np.float32,
)
inputs = {