mirror of
https://github.com/neodyland/sbv2-api.git
synced 2026-01-05 22:12:57 +00:00
fix
This commit is contained in:
@@ -32,7 +32,7 @@ async fn synthesize(
|
||||
"models/model_opt.onnx",
|
||||
"models/style_vectors.json",
|
||||
)?);
|
||||
&*tts_model.as_ref().unwrap()
|
||||
tts_model.as_ref().unwrap()
|
||||
};
|
||||
let (bert_ori, phones, tones, lang_ids) = tts_model.parse_text(&text)?;
|
||||
let style_vector = tts_model.get_style_vector(0, 1.0)?;
|
||||
|
||||
Reference in New Issue
Block a user