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

fix: cut gpu usage by 80%

Louis Beaumont714023e65548
diff --git a/screenpipe-audio/tests/core_tests.rs b/screenpipe-audio/tests/core_tests.rs
index 8c162a02d..24a4c0617 100644
--- a/screenpipe-audio/tests/core_tests.rs
+++ b/screenpipe-audio/tests/core_tests.rs
@@ -28,14 +28,7 @@ mod tests {
let start = std::time::Instant::now();
let whisper_model = WhisperModel::new().unwrap();
- let text = stt(
- &[AudioInput {
- path: "./test_data/poetic_kapil_gupta.wav".to_string(),
- device: "the sun".to_string(),
- }],
- &whisper_model,
- )
- .unwrap();
+ let text = stt("./test_data/poetic_kapil_gupta.wav", &whisper_model).unwrap();
let duration = start.elapsed();
println!("Speech to text completed in {:?}", duration);