Skip to content

Commit

Permalink
Apply cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
xd009642 committed Apr 15, 2024
1 parent 6f1aad0 commit 9ad8827
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bin/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@ pub struct Args {
tacotron2: PathBuf,
}


fn main() -> anyhow::Result<()> {
xd_tts::setup_logging();
let args = Args::parse();

info!("Loading resources");

let tts_context = XdTts::new(&args.tacotron2, args.phoneme_input)?;
let mut wav_writer = WavWriter::create(&args.output, xd_tts::WAV_SPEC)?;
let mut wav_writer = WavWriter::create(&args.output, xd_tts::WAV_SPEC)?;

tts_context.generate_audio(&args.input, &mut wav_writer, args.output_spectrogram)?;
Ok(())
Expand Down

0 comments on commit 9ad8827

Please sign in to comment.