Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

tests

matthew-heartful54c7149464c1
diff --git a/screenpipe-audio/tests/core_tests.rs b/screenpipe-audio/tests/core_tests.rs
index 5e50c80ee..070db7d2e 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);