mirror of
https://github.com/neodyland/sbv2-api.git
synced 2026-01-04 21:42:57 +00:00
format
This commit is contained in:
@@ -17,7 +17,8 @@ fn main_inner() -> anyhow::Result<()> {
|
||||
)?;
|
||||
tts_holder.load_sbv2file(ident, fs::read(env::var("MODEL_PATH")?)?)?;
|
||||
|
||||
let audio = tts_holder.easy_synthesize(ident, &text, 0, 0, tts::SynthesizeOptions::default())?;
|
||||
let audio =
|
||||
tts_holder.easy_synthesize(ident, &text, 0, 0, tts::SynthesizeOptions::default())?;
|
||||
fs::write("output.wav", audio)?;
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user