This commit is contained in:
tuna2134
2024-09-10 06:00:31 +00:00
parent e55871c936
commit 41c9d2c092
2 changed files with 1 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ pub fn synthesize(
let outputs = session.run(ort::inputs! {
"x_tst" => x_tst,
"x_tst_lengths" => x_tst_lengths,
"sid" => array![0 as i64],
"sid" => array![0_i64],
"tones" => tones,
"language" => lang_ids,
"bert" => bert,

View File

@@ -1,4 +1,3 @@
use ndarray::{s, Array, Array2};
pub fn intersperse<T>(slice: &[T], sep: T) -> Vec<T>
where