This commit is contained in:
jhqxxx
2025-10-15 23:34:23 +08:00
parent a5e463ec61
commit bbff5d0601
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ use anyhow::Result;
#[test]
fn messy_test() -> Result<()> {
let device = candle_core::Device::Cpu;
let wav_path = "./assets/audio/example.wav";
let wav_path = "./assets/audio/voice_01.wav";
let audio_tensor = load_audio_with_resample(wav_path, device, Some(16000))?;
println!("audio_tensor: {}", audio_tensor);