From 54c7149464c1479fad9d281fc54298e175d4d3f8 Mon Sep 17 00:00:00 2001 From: matthew-heartful Date: Wed, 31 Jul 2024 20:19:09 -0700 Subject: [PATCH] tests --- screenpipe-audio/tests/core_tests.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/screenpipe-audio/tests/core_tests.rs b/screenpipe-audio/tests/core_tests.rs index 5e50c80e..070db7d2 100644 --- a/screenpipe-audio/tests/core_tests.rs +++ b/screenpipe-audio/tests/core_tests.rs @@ -43,12 +43,13 @@ mod tests { fn test_speech_to_text() { setup(); println!("Starting speech to text test"); - +a println!("Loading audio file"); let start = std::time::Instant::now(); let whisper_model = WhisperModel::new().unwrap(); + let cloud_audio = true; // Set this based on your test requirements - let text = stt("./test_data/selah.mp4", &whisper_model).unwrap(); + let text = stt("./test_data/selah.mp4", &whisper_model, cloud_audio).unwrap(); let duration = start.elapsed(); println!("Speech to text completed in {:?}", duration);